import type { GeneratedEtsLibFile } from "../../types/generated";

export const FILE: GeneratedEtsLibFile = {
  path: 'ets/api/@ohos.arkui.UIContext.d.ts',
  content: "/*\n * Copyright (c) 2023-2024 Huawei Device Co., Ltd.\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * @file\n * @kit ArkUI\n */\nimport font from './@ohos.font';\nimport mediaQuery from './@ohos.mediaquery';\nimport type inspector from './@ohos.arkui.inspector';\nimport type observer from './@ohos.arkui.observer';\nimport promptAction, { LevelOrder } from './@ohos.promptAction';\nimport router from './@ohos.router';\nimport type componentUtils from './@ohos.arkui.componentUtils';\nimport { ComponentContent, FrameNode, Frame } from './@ohos.arkui.node';\nimport type { AnimatorOptions, AnimatorResult } from './@ohos.animator';\nimport { SimpleAnimatorOptions } from './@ohos.animator';\nimport type { Callback, AsyncCallback } from './@ohos.base';\nimport { MeasureOptions } from './@ohos.measure';\nimport type componentSnapshot from './@ohos.arkui.componentSnapshot';\nimport type dragController from './@ohos.arkui.dragController';\nimport image from './@ohos.multimedia.image';\nimport type common from './@ohos.app.ability.common';\nimport type pointer from './@ohos.multimodalInput.pointer';\n/**\n * class Font\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * class Font\n *\n * <p><strong>NOTE</strong>:\n * <br>You must first use getFont() in UIContext to obtain a Font instance,\n * and then call the APIs using the obtained instance.\n * </p>\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\nexport class Font {\n    /**\n     * Register a customized font in the FontManager.\n     *\n     * @param { font.FontOptions } options - FontOptions\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Register a customized font in the FontManager.\n     *\n     * @param { font.FontOptions } options - FontOptions\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    registerFont(options: font.FontOptions): void;\n    /**\n     * Gets a list of fonts supported by system.\n     * @returns { Array<string> } A list of font names\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Gets a list of fonts supported by system.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>This API takes effect only on 2-in-1 devices.\n     * </p>\n     *\n     * @returns { Array<string> } A list of font names\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 11\n     */\n    getSystemFontList(): Array<string>;\n    /**\n     * Get font details according to the font name.\n     * @param { string } fontName - font name\n     * @returns { font.FontInfo } Returns the font info\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Get font details according to the font name.\n     * @param { string } fontName - font name\n     * @returns { font.FontInfo } Returns the font info\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 11\n     */\n    getFontByName(fontName: string): font.FontInfo;\n}\n/**\n * class MediaQuery\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * class MediaQuery\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\nexport class MediaQuery {\n    /**\n     * Sets the media query criteria and returns the corresponding listening handle\n     *\n     * @param { string } condition - media conditions\n     * @returns { mediaQuery.MediaQueryListener } the corresponding listening handle\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Sets the media query criteria and returns the corresponding listening handle\n     *\n     * @param { string } condition - media conditions\n     * @returns { mediaQuery.MediaQueryListener } the corresponding listening handle\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    matchMediaSync(condition: string): mediaQuery.MediaQueryListener;\n}\n/**\n * class UIInspector\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * class UIInspector\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\nexport class UIInspector {\n    /**\n     * Sets the component after layout or draw criteria and returns the corresponding listening handle\n     * @param { string } id - component id.\n     * @returns { inspector.ComponentObserver } create listener for observer component event.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Sets the component after layout or draw criteria and returns the corresponding listening handle\n     * @param { string } id - component id.\n     * @returns { inspector.ComponentObserver } create listener for observer component event.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    createComponentObserver(id: string): inspector.ComponentObserver;\n}\n/**\n * class Router\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * class Router\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\n/**\n * class Router\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\nexport class Router {\n    /**\n     * Navigates to a specified page in the application.\n     *\n     * @param { router.RouterOptions } options - Page routing parameters.\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100002 - Uri error. The URI of the page to redirect is incorrect or does not exist\n     * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Navigates to a specified page in the application.\n     *\n     * @param { router.RouterOptions } options - Page routing parameters.\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100002 - Uri error. The URI of the page to redirect is incorrect or does not exist\n     * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    pushUrl(options: router.RouterOptions, callback: AsyncCallback<void>): void;\n    /**\n     * Navigates to a specified page in the application. This API uses a promise to return the result.\n     *\n     * @param { router.RouterOptions } options - Page routing parameters.\n     * @returns { Promise<void> } Promise used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100002 - Uri error. The URI of the page to redirect is incorrect or does not exist\n     * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Navigates to a specified page in the application. This API uses a promise to return the result.\n     *\n     * @param { router.RouterOptions } options - Page routing parameters.\n     * @returns { Promise<void> } Promise used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100002 - Uri error. The URI of the page to redirect is incorrect or does not exist\n     * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    pushUrl(options: router.RouterOptions): Promise<void>;\n    /**\n     * Navigates to a specified page in the application.\n     *\n     * @param { router.RouterOptions } options - Page routing parameters.\n     * @param { router.RouterMode } mode - Routing mode.\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100002 - Uri error. The URI of the page to redirect is incorrect or does not exist\n     * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Navigates to a specified page in the application.\n     *\n     * @param { router.RouterOptions } options - Page routing parameters.\n     * @param { router.RouterMode } mode - Routing mode.\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100002 - Uri error. The URI of the page to redirect is incorrect or does not exist\n     * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    pushUrl(options: router.RouterOptions, mode: router.RouterMode, callback: AsyncCallback<void>): void;\n    /**\n     * Navigates to a specified page in the application. This API uses a promise to return the result.\n     *\n     * @param { router.RouterOptions } options - Page routing parameters.\n     * @param { router.RouterMode } mode - Routing mode.\n     * @returns { Promise<void> } Promise used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100002 - Uri error. The URI of the page to redirect is incorrect or does not exist\n     * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Navigates to a specified page in the application. This API uses a promise to return the result.\n     *\n     * @param { router.RouterOptions } options - Page routing parameters.\n     * @param { router.RouterMode } mode - Routing mode.\n     * @returns { Promise<void> } Promise used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100002 - Uri error. The URI of the page to redirect is incorrect or does not exist\n     * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    pushUrl(options: router.RouterOptions, mode: router.RouterMode): Promise<void>;\n    /**\n     * Replaces the current page with another one in the application. The current page is destroyed after replacement.\n     *\n     * @param { router.RouterOptions } options - Options.\n     * @param { AsyncCallback<void> } callback - the callback of replaceUrl.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - The UI execution context is not found. This error code is thrown only in the standard system.\n     * @throws { BusinessError } 200002 - Uri error. The URI of the page to be used for replacement is incorrect or does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Replaces the current page with another one in the application. The current page is destroyed after replacement.\n     *\n     * @param { router.RouterOptions } options - Options.\n     * @param { AsyncCallback<void> } callback - the callback of replaceUrl.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - The UI execution context is not found. This error code is thrown only in the standard system.\n     * @throws { BusinessError } 200002 - Uri error. The URI of the page to be used for replacement is incorrect or does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    replaceUrl(options: router.RouterOptions, callback: AsyncCallback<void>): void;\n    /**\n     * Replaces the current page with another one in the application. The current page is destroyed after replacement.\n     *\n     * @param { router.RouterOptions } options - Options.\n     * @returns { Promise<void> } the promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - The UI execution context is not found. This error code is thrown only in the standard system.\n     * @throws { BusinessError } 200002 - Uri error. The URI of the page to be used for replacement is incorrect or does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Replaces the current page with another one in the application. The current page is destroyed after replacement.\n     *\n     * @param { router.RouterOptions } options - Options.\n     * @returns { Promise<void> } the promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - The UI execution context is not found. This error code is thrown only in the standard system.\n     * @throws { BusinessError } 200002 - Uri error. The URI of the page to be used for replacement is incorrect or does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    replaceUrl(options: router.RouterOptions): Promise<void>;\n    /**\n     * Replaces the current page with another one in the application. The current page is destroyed after replacement.\n     *\n     * @param { router.RouterOptions } options - Options.\n     * @param { router.RouterMode } mode - RouterMode.\n     * @param { AsyncCallback<void> } callback - the callback of replaceUrl.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - The UI execution context is not found. This error code is thrown only in the standard system.\n     * @throws { BusinessError } 200002 - Uri error. The URI of the page to be used for replacement is incorrect or does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Replaces the current page with another one in the application. The current page is destroyed after replacement.\n     *\n     * @param { router.RouterOptions } options - Options.\n     * @param { router.RouterMode } mode - RouterMode.\n     * @param { AsyncCallback<void> } callback - the callback of replaceUrl.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - The UI execution context is not found. This error code is thrown only in the standard system.\n     * @throws { BusinessError } 200002 - Uri error. The URI of the page to be used for replacement is incorrect or does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    replaceUrl(options: router.RouterOptions, mode: router.RouterMode, callback: AsyncCallback<void>): void;\n    /**\n     * Replaces the current page with another one in the application. The current page is destroyed after replacement.\n     *\n     * @param { router.RouterOptions } options - Options.\n     * @param { router.RouterMode } mode - RouterMode.\n     * @returns { Promise<void> } the promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Failed to get the delegate. This error code is thrown only in the standard system.\n     * @throws { BusinessError } 200002 - Uri error. The URI of the page to be used for replacement is incorrect or does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Replaces the current page with another one in the application. The current page is destroyed after replacement.\n     *\n     * @param { router.RouterOptions } options - Options.\n     * @param { router.RouterMode } mode - RouterMode.\n     * @returns { Promise<void> } the promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Failed to get the delegate. This error code is thrown only in the standard system.\n     * @throws { BusinessError } 200002 - Uri error. The URI of the page to be used for replacement is incorrect or does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    replaceUrl(options: router.RouterOptions, mode: router.RouterMode): Promise<void>;\n    /**\n     * Returns to the previous page or a specified page.\n     *\n     * @param { router.RouterOptions } options - Description of the page.\n     * <br>The **url** parameter indicates the URL of the page to return to.\n     * <br>If the specified page does not exist in the page stack, the application does not respond.\n     * <br>If no URL is set, the application returns to the previous page, and the page is not rebuilt.\n     * <br>The page in the page stack is not reclaimed. It will be reclaimed after being popped up.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Returns to the previous page or a specified page.\n     *\n     * @param { router.RouterOptions } options - Description of the page.\n     * <br>The **url** parameter indicates the URL of the page to return to.\n     * <br>If the specified page does not exist in the page stack, the application does not respond.\n     * <br>If no URL is set, the application returns to the previous page, and the page is not rebuilt.\n     * <br>The page in the page stack is not reclaimed. It will be reclaimed after being popped up.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    back(options?: router.RouterOptions): void;\n    /**\n     * Returns to the specified page.\n     *\n     * @param { number } index - Index of the target page to navigate to.\n     * @param { Object } [params] - Parameters carried when returning to the page.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    back(index: number, params?: Object): void;\n    /**\n     * Clears all historical pages and retains only the current page at the top of the stack.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Clears all historical pages and retains only the current page at the top of the stack.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    clear(): void;\n    /**\n     * Obtains the number of pages in the current stack.\n     *\n     * @returns { string } Number of pages in the stack. The maximum value is 32.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Obtains the number of pages in the current stack.\n     *\n     * @returns { string } Number of pages in the stack. The maximum value is 32.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    getLength(): string;\n    /**\n     * Obtains information about the current page state.\n     *\n     * @returns { router.RouterState } Page routing state.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Obtains information about the current page state.\n     *\n     * @returns { router.RouterState } Page routing state.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    getState(): router.RouterState;\n    /**\n     * Obtains page information by index.\n     *\n     * @param { number } index - Index of page.\n     * @returns { router.RouterState | undefined } Page state.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    getStateByIndex(index: number): router.RouterState | undefined;\n    /**\n     * Obtains page information by url.\n     *\n     * @param { string } url - URL of page.\n     * @returns { Array<router.RouterState> } Page state.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    getStateByUrl(url: string): Array<router.RouterState>;\n    /**\n     * Pop up alert dialog to ask whether to back.\n     *\n     * @param { router.EnableAlertOptions } options - Options.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Pop up alert dialog to ask whether to back.\n     *\n     * @param { router.EnableAlertOptions } options - Options.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    showAlertBeforeBackPage(options: router.EnableAlertOptions): void;\n    /**\n     * Hide alert before back page.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Hide alert before back page.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    hideAlertBeforeBackPage(): void;\n    /**\n     * Obtains information about the current page params.\n     *\n     * @returns { Object } Page params.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Obtains information about the current page params.\n     *\n     * @returns { Object } Page params.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    getParams(): Object;\n    /**\n     * Navigates to a page using the named route. This API uses a promise to return the result.\n     * @param { router.NamedRouterOptions } options - Page routing parameters.\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed.\n     * @throws { BusinessError } 100004 - Named route error. The named route does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Navigates to a page using the named route. This API uses a promise to return the result.\n     * @param { router.NamedRouterOptions } options - Page routing parameters.\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed.\n     * @throws { BusinessError } 100004 - Named route error. The named route does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    pushNamedRoute(options: router.NamedRouterOptions, callback: AsyncCallback<void>): void;\n    /**\n     * Navigates to a page using the named route. This API uses a promise to return the result.\n     * @param { router.NamedRouterOptions } options - Page routing parameters.\n     * @returns { Promise<void> } Promise used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed.\n     * @throws { BusinessError } 100004 - Named route error. The named route does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Navigates to a page using the named route. This API uses a promise to return the result.\n     * @param { router.NamedRouterOptions } options - Page routing parameters.\n     * @returns { Promise<void> } Promise used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed.\n     * @throws { BusinessError } 100004 - Named route error. The named route does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    pushNamedRoute(options: router.NamedRouterOptions): Promise<void>;\n    /**\n     * Navigates to a page using the named route. This API uses a promise to return the result.\n     * @param { router.NamedRouterOptions } options - Page routing parameters.\n     * @param { router.RouterMode } mode - Routing mode.\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed.\n     * @throws { BusinessError } 100004 - Named route error. The named route does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n    */\n    /**\n     * Navigates to a page using the named route. This API uses a promise to return the result.\n     * @param { router.NamedRouterOptions } options - Page routing parameters.\n     * @param { router.RouterMode } mode - Routing mode.\n     * @param { AsyncCallback<void> } callback - Callback used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed.\n     * @throws { BusinessError } 100004 - Named route error. The named route does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n    */\n    pushNamedRoute(options: router.NamedRouterOptions, mode: router.RouterMode, callback: AsyncCallback<void>): void;\n    /**\n     * Navigates to a page using the named route. This API uses a promise to return the result.\n     * @param { router.NamedRouterOptions } options - Page routing parameters.\n     * @param { router.RouterMode } mode - Routing mode.\n     * @returns { Promise<void> } Promise used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed.\n     * @throws { BusinessError } 100004 - Named route error. The named route does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n    */\n    /**\n     * Navigates to a page using the named route. This API uses a promise to return the result.\n     * @param { router.NamedRouterOptions } options - Page routing parameters.\n     * @param { router.RouterMode } mode - Routing mode.\n     * @returns { Promise<void> } Promise used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 100003 - Page stack error. Too many pages are pushed.\n     * @throws { BusinessError } 100004 - Named route error. The named route does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n    */\n    pushNamedRoute(options: router.NamedRouterOptions, mode: router.RouterMode): Promise<void>;\n    /**\n     * Replaces the current page with another one in the application. The current page is destroyed after replacement.\n     * @param { router.NamedRouterOptions } options - Options.\n     * @param { AsyncCallback<void> } callback - the callback of replaceNamedRoute.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - The UI execution context is not found. This error code is thrown only in the standard system.\n     * @throws { BusinessError } 100004 - Named route error. The named route does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Replaces the current page with another one in the application. The current page is destroyed after replacement.\n     * @param { router.NamedRouterOptions } options - Options.\n     * @param { AsyncCallback<void> } callback - the callback of replaceNamedRoute.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - The UI execution context is not found. This error code is thrown only in the standard system.\n     * @throws { BusinessError } 100004 - Named route error. The named route does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    replaceNamedRoute(options: router.NamedRouterOptions, callback: AsyncCallback<void>): void;\n    /**\n     * Replaces the current page with another one in the application. The current page is destroyed after replacement.\n     * @param { router.NamedRouterOptions } options - Options.\n     * @returns { Promise<void> } the promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - The UI execution context is not found. This error code is thrown only in the standard system.\n     * @throws { BusinessError } 100004 - Named route error. The named route does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Replaces the current page with another one in the application. The current page is destroyed after replacement.\n     * @param { router.NamedRouterOptions } options - Options.\n     * @returns { Promise<void> } the promise returned by the function.\n     * @throws { BusinessError } 401 - if the number of parameters is less than 1 or the type of the url parameter is not string.\n     * @throws { BusinessError } 100001 - The UI execution context is not found. This error code is thrown only in the standard system.\n     * @throws { BusinessError } 100004 - Named route error. The named route does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    replaceNamedRoute(options: router.NamedRouterOptions): Promise<void>;\n    /**\n     * Replaces the current page with another one in the application. The current page is destroyed after replacement.\n     * @param { router.NamedRouterOptions } options - Options.\n     * @param { router.RouterMode } mode - RouterMode.\n     * @param { AsyncCallback<void> } callback - the callback of replaceNamedRoute.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - The UI execution context is not found. This error code is thrown only in the standard system.\n     * @throws { BusinessError } 100004 - Named route error. The named route does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Replaces the current page with another one in the application. The current page is destroyed after replacement.\n     * @param { router.NamedRouterOptions } options - Options.\n     * @param { router.RouterMode } mode - RouterMode.\n     * @param { AsyncCallback<void> } callback - the callback of replaceNamedRoute.\n     * @throws { BusinessError } 401 - if the number of parameters is less than 1 or the type of the url parameter is not string.\n     * @throws { BusinessError } 100001 - The UI execution context is not found. This error code is thrown only in the standard system.\n     * @throws { BusinessError } 100004 - Named route error. The named route does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    replaceNamedRoute(options: router.NamedRouterOptions, mode: router.RouterMode, callback: AsyncCallback<void>): void;\n    /**\n     * Replaces the current page with another one in the application. The current page is destroyed after replacement.\n     * @param { router.NamedRouterOptions } options - Options.\n     * @param { router.RouterMode } mode - RouterMode.\n     * @returns { Promise<void> } the promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Failed to get the delegate. This error code is thrown only in the standard system.\n     * @throws { BusinessError } 100004 - Named route error. The named route does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Replaces the current page with another one in the application. The current page is destroyed after replacement.\n     * @param { router.NamedRouterOptions } options - Options.\n     * @param { router.RouterMode } mode - RouterMode.\n     * @returns { Promise<void> } the promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Failed to get the delegate. This error code is thrown only in the standard system.\n     * @throws { BusinessError } 100004 - Named route error. The named route does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    replaceNamedRoute(options: router.NamedRouterOptions, mode: router.RouterMode): Promise<void>;\n}\n/**\n * Defines the custom builder with id.\n *\n * @typedef { function } CustomBuilderWithId\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 18\n */\ndeclare type CustomBuilderWithId = (id: number) => void;\n/**\n * Defines the target info.\n *\n * @interface TargetInfo\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 18\n */\nexport interface TargetInfo {\n    /**\n     * ID of target node.\n     *\n     * @type { string | number }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    id: string | number;\n    /**\n     * Unique ID that generated by framework. This ID used to constrain range of target.\n     *\n     * @type { ?number }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    componentId?: number;\n}\n/**\n * class PromptAction\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * class PromptAction\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\nexport class PromptAction {\n    /**\n     * Displays the notification text.\n     *\n     * @param { promptAction.ShowToastOptions } options - Options.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Shows a toast in the given settings.\n     *\n     * @param { promptAction.ShowToastOptions } options - Toast options.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    showToast(options: promptAction.ShowToastOptions): void;\n    /**\n     * Displays the notification text.\n     *\n     * @param { promptAction.ShowToastOptions } options - Options.\n     * @returns { Promise<number> } return the toast id that will be used by closeToast.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    openToast(options: promptAction.ShowToastOptions): Promise<number>;\n    /**\n     * Close the notification text.\n     *\n     * @param { number } toastId - the toast id that returned by openToast.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @throws { BusinessError } 103401 - Cannot find the toast.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    closeToast(toastId: number): void;\n    /**\n     * Displays the dialog box.\n     *\n     * @param { promptAction.ShowDialogOptions } options - Options.\n     * @param { AsyncCallback<promptAction.ShowDialogSuccessResponse> } callback - the callback of showDialog.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Displays the dialog box.\n     *\n     * @param { promptAction.ShowDialogOptions } options - Options.\n     * @param { AsyncCallback<promptAction.ShowDialogSuccessResponse> } callback - the callback of showDialog.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Shows a dialog box in the given settings. This API uses an asynchronous callback to return the result.\n     *\n     * @param { promptAction.ShowDialogOptions } options - Dialog box options.\n     * @param { AsyncCallback<promptAction.ShowDialogSuccessResponse> } callback - Callback used to return the dialog\n     * box response result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    showDialog(options: promptAction.ShowDialogOptions, callback: AsyncCallback<promptAction.ShowDialogSuccessResponse>): void;\n    /**\n     * Displays the dialog box.\n     *\n     * @param { promptAction.ShowDialogOptions } options - Options.\n     * @returns { Promise<promptAction.ShowDialogSuccessResponse> } the promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Shows a dialog box. This API uses a promise to return the result.\n     *\n     * @param { promptAction.ShowDialogOptions } options - Dialog box options.\n     * @returns { Promise<promptAction.ShowDialogSuccessResponse> } Promise used to return the dialog\n     * box response result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    showDialog(options: promptAction.ShowDialogOptions): Promise<promptAction.ShowDialogSuccessResponse>;\n    /**\n     * Shows an action menu in the given settings. This API uses an asynchronous callback to return the result.\n     *\n     * @param { promptAction.ActionMenuOptions } options - Action menu options.\n     * @param { promptAction.ActionMenuSuccessResponse } callback - Callback used to return the action menu\n     * response result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     * @deprecated since 11\n     * @useinstead showActionMenu\n     */\n    showActionMenu(options: promptAction.ActionMenuOptions, callback: promptAction.ActionMenuSuccessResponse): void;\n    /**\n     * Shows an action menu in the given settings. This API uses an asynchronous callback to return the result.\n     *\n     * @param { promptAction.ActionMenuOptions } options - Action menu options.\n     * @param { AsyncCallback<promptAction.ActionMenuSuccessResponse> } callback - Callback used to return the action\n     * menu response result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    showActionMenu(options: promptAction.ActionMenuOptions, callback: AsyncCallback<promptAction.ActionMenuSuccessResponse>): void;\n    /**\n     * Displays the menu.\n     *\n     * @param { promptAction.ActionMenuOptions } options - Options.\n     * @returns { Promise<promptAction.ActionMenuSuccessResponse> } callback - the callback of showActionMenu.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Shows an action menu in the given settings. This API uses an asynchronous callback to return the result.\n     *\n     * @param { promptAction.ActionMenuOptions } options - Action menu options.\n     * @returns { Promise<promptAction.ActionMenuSuccessResponse> } callback - Promise used to return the action\n     * menu response result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    showActionMenu(options: promptAction.ActionMenuOptions): Promise<promptAction.ActionMenuSuccessResponse>;\n    /**\n     * Open the custom dialog with frameNode.\n     *\n     * @param { ComponentContent<T> } dialogContent - the content of custom dialog.\n     * @param { promptAction.BaseDialogOptions } options - Options.\n     * @returns { Promise<void> } the promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 103301 - Dialog content error. The ComponentContent is incorrect.\n     * @throws { BusinessError } 103302 - Dialog content already exist. The ComponentContent has already been opened.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    openCustomDialog<T extends Object>(dialogContent: ComponentContent<T>, options?: promptAction.BaseDialogOptions): Promise<void>;\n    /**\n     * Open the custom dialog with frameNode and controller.\n     *\n     * isModal = true and showInSubWindow = true cannot be used at the same time.\n     *\n     * @param { ComponentContent<T> } dialogContent - the content of custom dialog.\n     * @param { promptAction.DialogController } controller - Dialog controller.\n     * @param { promptAction.BaseDialogOptions } options - Options.\n     * @returns { Promise<void> } the promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 103301 - Dialog content error. The ComponentContent is incorrect.\n     * @throws { BusinessError } 103302 - Dialog content already exist. The ComponentContent has already been opened.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    openCustomDialogWithController<T extends Object>(dialogContent: ComponentContent<T>, controller: promptAction.DialogController, options?: promptAction.BaseDialogOptions): Promise<void>;\n    /**\n     * Update the custom dialog with frameNode.\n     *\n     * @param { ComponentContent<T> } dialogContent - the content of custom dialog.\n     * @param { promptAction.BaseDialogOptions } options - Options.\n     * only alignment, offset, autoCancel, and maskColor can be updated.\n     * @returns { Promise<void> } the promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 103301 - Dialog content error. The ComponentContent is incorrect.\n     * @throws { BusinessError } 103303 - Dialog content not found. The ComponentContent cannot be found.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    updateCustomDialog<T extends Object>(dialogContent: ComponentContent<T>, options: promptAction.BaseDialogOptions): Promise<void>;\n    /**\n     * Closes a custom dialog box corresponding to dialogContent. This API uses a promise to return the result.\n     *\n     * @param { ComponentContent<T> } dialogContent - Content of the custom dialog box.\n     * @returns { Promise<void> } Promise used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 103301 - Dialog content error. The ComponentContent is incorrect.\n     * @throws { BusinessError } 103303 - Dialog content not found. The ComponentContent cannot be found.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    closeCustomDialog<T extends Object>(dialogContent: ComponentContent<T>): Promise<void>;\n    /**\n     * Open the custom dialog.\n     *\n     * isModal = true and showInSubWindow = true cannot be used at the same time.\n     *\n     * @param { promptAction.CustomDialogOptions } options - Options.\n     * @returns { Promise<number> } return the dialog id that will be used by closeCustomDialog.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    openCustomDialog(options: promptAction.CustomDialogOptions): Promise<number>;\n    /**\n     * Present the custom dialog with controller.\n     *\n     * isModal = true and showInSubWindow = true cannot be used at the same time.\n     *\n     * @param { CustomBuilder | CustomBuilderWithId } builder - Dialog builder.\n     * @param { promptAction.DialogController } controller - Dialog controller.\n     * @param { promptAction.DialogOptions } options - Options.\n     * @returns { Promise<number> } return the dialog id that will be used by closeCustomDialog.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    presentCustomDialog(builder: CustomBuilder | CustomBuilderWithId, controller?: promptAction.DialogController, options?: promptAction.DialogOptions): Promise<number>;\n    /**\n     * Close the custom dialog.\n     *\n     * @param { number } dialogId - the dialog id that returned by openCustomDialog.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    closeCustomDialog(dialogId: number): void;\n    /**\n     * Get order value of top dialog.\n     *\n     * @returns { LevelOrder } the display order.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    getTopOrder(): LevelOrder;\n    /**\n     * Get order value of bottom dialog.\n     *\n     * @returns { LevelOrder } the display order.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    getBottomOrder(): LevelOrder;\n    /**\n     * Open popup with frameNode.\n     *\n     * @param { ComponentContent<T> } content - The content of popup.\n     * @param { TargetInfo } target - The target of popup.\n     * @param { PopupCommonOptions } options - Options.\n     * @returns { Promise<void> } the promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 103301 - The ComponentContent is incorrect.\n     * @throws { BusinessError } 103302 - The ComponentContent already exists.\n     * @throws { BusinessError } 103304 - The targetId does not exist.\n     * @throws { BusinessError } 103305 - The node of targetId is not in the component tree.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    openPopup<T extends Object>(content: ComponentContent<T>, target: TargetInfo, options?: PopupCommonOptions): Promise<void>;\n    /**\n     * Update popup with frameNode.\n     *\n     * @param { ComponentContent<T> } content - The content of popup.\n     * @param { PopupCommonOptions } options - Options.\n     * @param { boolean } partialUpdate - If true, only the specified properties in the options are updated,\n     *                                    otherwise the rest of the properties are overwritten with the default values.\n     *                                    Default value is false.\n     * @returns { Promise<void> } the promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 103301 - The ComponentContent is incorrect.\n     * @throws { BusinessError } 103303 - The ComponentContent cannot be found.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    updatePopup<T extends Object>(content: ComponentContent<T>, options: PopupCommonOptions, partialUpdate?: boolean): Promise<void>;\n    /**\n     * Close popup with frameNode.\n     *\n     * @param { ComponentContent<T> } content - The content of popup.\n     * @returns { Promise<void> } the promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 103301 - The ComponentContent is incorrect.\n     * @throws { BusinessError } 103303 - The ComponentContent cannot be found.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n    */\n    closePopup<T extends Object>(content: ComponentContent<T>): Promise<void>;\n    /**\n     * Open menu with frameNode.\n     *\n     * @param { ComponentContent<T> } content - The content of menu.\n     * @param { TargetInfo } target - The target of menu.\n     * @param { MenuOptions } options - Options.\n     * @returns { Promise<void> } the promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 103301 - The ComponentContent is incorrect.\n     * @throws { BusinessError } 103302 - The ComponentContent already exists.\n     * @throws { BusinessError } 103304 - The targetId does not exist.\n     * @throws { BusinessError } 103305 - The node of targetId is not in the component tree.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    openMenu<T extends Object>(content: ComponentContent<T>, target: TargetInfo, options?: MenuOptions): Promise<void>;\n    /**\n     * Update menu with frameNode.\n     *\n     * @param { ComponentContent<T> } content - The content of menu.\n     * @param { MenuOptions } options - Options.\n     * @param { boolean } partialUpdate - If true, only the specified properties in the MenuOptions are updated,\n     *                                    otherwise the rest of the properties are overwritten with the default values.\n     *                                    Default value is false.\n     * @returns { Promise<void> } the promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 103301 - The ComponentContent is incorrect.\n     * @throws { BusinessError } 103303 - The ComponentContent cannot be found.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    updateMenu<T extends Object>(content: ComponentContent<T>, options: MenuOptions, partialUpdate?: boolean): Promise<void>;\n    /**\n     * Close menu with frameNode.\n     *\n     * @param { ComponentContent<T> } content - The content of menu.\n     * @returns { Promise<void> } the promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 103301 - The ComponentContent is incorrect.\n     * @throws { BusinessError } 103303 - The ComponentContent cannot be found.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n    */\n    closeMenu<T extends Object>(content: ComponentContent<T>): Promise<void>;\n}\n/**\n * Defines the callback type used in UIObserver watch click event.\n * The value of event indicates the information of ClickEvent.\n * The value of node indicates the frameNode which will receive the event.\n *\n * @typedef { function } ClickEventListenerCallback\n * @param { ClickEvent } event - the information of ClickEvent\n * @param { FrameNode } [node] - the information of frameNode\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\ndeclare type ClickEventListenerCallback = (event: ClickEvent, node?: FrameNode) => void;\n/**\n * Defines the callback type used in UIObserver watch pan event.\n * The value of event indicates the information of pan event.\n * The value of node indicates the frameNode which will receive the event.\n *\n * @typedef { function } PanListenerCallback\n * @param { GestureEvent } event - the information of pan event\n * @param { GestureRecognizer } current - the information of panRecognizer\n * @param { FrameNode } [node] - the information of frameNode\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 19\n */\ndeclare type PanListenerCallback = (event: GestureEvent, current: GestureRecognizer, node?: FrameNode) => void;\n/**\n * Defines the callback type used in UIObserver watch gesture.\n * The value of event indicates the information of gesture.\n * The value of node indicates the frameNode which will receive the event.\n *\n * @typedef { function } GestureEventListenerCallback\n * @param { GestureEvent } event - the information of GestureEvent\n * @param { FrameNode } [node] - the information of frameNode\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\ndeclare type GestureEventListenerCallback = (event: GestureEvent, node?: FrameNode) => void;\n/**\n * Defines the type can be used for identiting the node, for the string type, it's the inspector id\n * set through .id attribute, and for the number type, it's the unique ID got from the FrameNode by\n * getUniqueID method.\n *\n * @typedef { string | number } NodeIdentity\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 20\n */\ndeclare type NodeIdentity = string | number;\n/**\n * Defines the callback type used in UIObserver to monitor one specific node's render state.\n *\n * @typedef { function } NodeRenderStateChangeCallback\n * @param { NodeRenderState } state - the node's render state\n * @param { FrameNode } [node] - the information of frameNode\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 20\n */\ndeclare type NodeRenderStateChangeCallback = (state: NodeRenderState, node?: FrameNode) => void;\n/**\n * Defines the PageInfo type.\n * The value of routerPageInfo indicates the information of the router page, or undefined if the\n * frameNode does not have router page information. And the value of navDestinationInfo indicates\n * the information of the navDestination, or undefined if the frameNode does not have navDestination\n * information.\n *\n * @interface PageInfo\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\nexport interface PageInfo {\n    /**\n     * the property of router page information.\n     *\n     * @type { ?observer.RouterPageInfo }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    routerPageInfo?: observer.RouterPageInfo;\n    /**\n     * the property of navDestination information.\n     *\n     * @type { ?observer.NavDestinationInfo }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    navDestinationInfo?: observer.NavDestinationInfo;\n}\n/**\n * the property of OverlayManager.\n *\n * @interface OverlayManagerOptions\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 15\n */\nexport interface OverlayManagerOptions {\n    /**\n     * the render property of overlay node.\n     *\n     * @type { ?boolean }\n     * @default true\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 15\n     */\n    renderRootOverlay?: boolean;\n    /**\n     * Set whether support backPressed event or not.\n     *\n     * @type { ?boolean }\n     * @default false\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 19\n     */\n    /**\n     * Set whether support backPressed event or not.\n     *\n     * @type { ?boolean }\n     * @default false\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    enableBackPressedEvent?: boolean;\n}\n/**\n * Register callbacks to observe ArkUI behavior.\n * In the following API examples, you must first use getUIObserver() in UIContext to obtain a UIObserver instance, and\n * then call the APIs using the obtained instance.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 11\n */\n/**\n * Register callbacks to observe ArkUI behavior.\n * In the following API examples, you must first use getUIObserver() in UIContext to obtain a UIObserver instance, and\n * then call the APIs using the obtained instance.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\nexport class UIObserver {\n    /**\n     * Subscribes to status changes of this **NavDestination** component.\n     *\n     * @param { 'navDestinationUpdate' } type - Event type.\n     * The value is fixed at **'navDestinationUpdate'**, which indicates the state change event\n     * <br>of the **NavDestination** component.\n     * @param { object } options - ID of the target **NavDestination** component.\n     * @param { Callback<observer.NavDestinationInfo> } callback - Callback used to return the current\n     * <br>state of the **NavDestination** component.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Subscribes to status changes of this **NavDestination** component.\n     *\n     * @param { 'navDestinationUpdate' } type - Event type.\n     * The value is fixed at **'navDestinationUpdate'**, which indicates the state change event\n     * <br>of the **NavDestination** component.\n     * @param { object } options - ID of the target **NavDestination** component.\n     * @param { Callback<observer.NavDestinationInfo> } callback - Callback used to return the current\n     * <br>state of the **NavDestination** component.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    on(type: 'navDestinationUpdate', options: {\n        navigationId: ResourceStr;\n    }, callback: Callback<observer.NavDestinationInfo>): void;\n    /**\n     * Removes a callback function that was previously registered with `on()`.\n     *\n     * @param { 'navDestinationUpdate' } type - The type of event to remove the listener for. Must be 'navDestinationUpdate'.\n     * @param { object } options - Specify the id of observed navigation.\n     * @param { Callback<observer.NavDestinationInfo> } callback - The callback function to remove. If not provided, all callbacks for the given event type and\n     *                                                             navigation ID will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Removes a callback function that was previously registered with `on()`.\n     *\n     * @param { 'navDestinationUpdate' } type - The type of event to remove the listener for. Must be 'navDestinationUpdate'.\n     * @param { object } options - The options object.\n     * @param { Callback<observer.NavDestinationInfo> } callback - The callback function to remove. If not provided, all callbacks for the given event type and\n     *                                                             navigation ID will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    off(type: 'navDestinationUpdate', options: {\n        navigationId: ResourceStr;\n    }, callback?: Callback<observer.NavDestinationInfo>): void;\n    /**\n     * Subscribes to status changes of this **NavDestination** component.\n     *\n     * @param { 'navDestinationUpdate' } type - Event type.\n     * The value is fixed at **'navDestinationUpdate'**, which indicates the state change event of\n     * <br>the **NavDestination** component.\n     * @param { Callback<observer.NavDestinationInfo> } callback - Callback used to return the current state of\n     * <brthe **NavDestination** component.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Subscribes to status changes of this **NavDestination** component.\n     *\n     * @param { 'navDestinationUpdate' } type - Event type.\n     * The value is fixed at **'navDestinationUpdate'**,\n     * <br>which indicates the state change event of the **NavDestination** component.\n     * @param { Callback<observer.NavDestinationInfo> } callback - Callback used to return the current state of\n     * <br>the **NavDestination** component.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    on(type: 'navDestinationUpdate', callback: Callback<observer.NavDestinationInfo>): void;\n    /**\n     * Removes a callback function that was previously registered with `on()`.\n     *\n     * @param { 'navDestinationUpdate'} type - The type of event to remove the listener for. Must be 'navDestinationUpdate'.\n     * @param { Callback<observer.NavDestinationInfo> } [callback] - The callback function to remove. If not provided, all callbacks for the given event type\n     *                                                               will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Removes a callback function that was previously registered with `on()`.\n     *\n     * @param { 'navDestinationUpdate'} type - The type of event to remove the listener for. Must be 'navDestinationUpdate'.\n     * @param { Callback<observer.NavDestinationInfo> } [callback] - The callback function to remove. If not provided, all callbacks for the given event type\n     *                                                               will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    off(type: 'navDestinationUpdate', callback?: Callback<observer.NavDestinationInfo>): void;\n    /**\n     * Registers a callback function to be called when the navigation destination is updated.\n     *\n     * @param { 'navDestinationUpdateByUniqueId' } type - The type of event to listen for. Must be 'navDestinationUpdateByUniqueId'.\n     * @param { number } navigationUniqueId - The uniqueId of the navigation.\n     * @param { Callback<observer.NavDestinationInfo> } callback - The callback function to be called when the navigation destination is updated.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    on(type: 'navDestinationUpdateByUniqueId', navigationUniqueId: number, callback: Callback<observer.NavDestinationInfo>): void;\n    /**\n     * Removes a callback function that was previously registered with `on()`.\n     *\n     * @param { 'navDestinationUpdateByUniqueId'} type - The type of event to remove the listener for. Must be 'navDestinationUpdateByUniqueId'.\n     * @param { number } navigationUniqueId - The uniqueId of the navigation.\n     * @param { Callback<observer.NavDestinationInfo> } [callback] - The callback function to remove. If not provided, all callbacks for the given event type\n     *                                                      will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    off(type: 'navDestinationUpdateByUniqueId', navigationUniqueId: number, callback?: Callback<observer.NavDestinationInfo>): void;\n    /**\n     * Registers a callback function to be called when the scroll event start or stop.\n     *\n     * @param { 'scrollEvent' } type - The type of event to listen for. Must be 'scrollEvent'.\n     * @param { observer.ObserverOptions } options - The options object.\n     * @param { Callback<observer.ScrollEventInfo> } callback - The callback function to be called when the scroll event start or stop.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    on(type: 'scrollEvent', options: observer.ObserverOptions, callback: Callback<observer.ScrollEventInfo>): void;\n    /**\n     * Removes a callback function that was previously registered with `on()`.\n     *\n     * @param { 'scrollEvent' } type - The type of event to remove the listener for. Must be 'scrollEvent'.\n     * @param { observer.ObserverOptions } options - The options object.\n     * @param { Callback<observer.ScrollEventInfo> } callback - The callback function to remove. If not provided, all callbacks for the given event type and\n     *                                                    scroll ID will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    off(type: 'scrollEvent', options: observer.ObserverOptions, callback?: Callback<observer.ScrollEventInfo>): void;\n    /**\n     * Registers a callback function to be called when the scroll event start or stop.\n     *\n     * @param { 'scrollEvent' } type - The type of event to listen for. Must be 'scrollEvent'.\n     * @param { Callback<observer.ScrollEventInfo> } callback - The callback function to be called when the scroll event start or stop.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    on(type: 'scrollEvent', callback: Callback<observer.ScrollEventInfo>): void;\n    /**\n     * Removes a callback function that was previously registered with `on()`.\n     *\n     * @param { 'scrollEvent'} type - The type of event to remove the listener for. Must be 'scrollEvent'.\n     * @param { Callback<observer.ScrollEventInfo> } [callback] - The callback function to remove. If not provided, all callbacks for the given event type\n     *                                                      will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    off(type: 'scrollEvent', callback?: Callback<observer.ScrollEventInfo>): void;\n    /**\n     * Unsubscribes to state changes of the page in the router.\n     *\n     * @param { 'routerPageUpdate' } type - Event type.\n     * <br>The value is fixed at 'routerPageUpdate', which indicates the state change event of the page in the router.\n     * @param { Callback<observer.RouterPageInfo> } callback - Callback to be unregistered.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Unsubscribes to state changes of the page in the router.\n     *\n     * @param { 'routerPageUpdate' } type - Event type.\n     * <br>The value is fixed at 'routerPageUpdate', which indicates the state change event of the page in the router.\n     * @param { Callback<observer.RouterPageInfo> } callback - Callback to be unregistered.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    on(type: 'routerPageUpdate', callback: Callback<observer.RouterPageInfo>): void;\n    /**\n     * Removes a callback function that was previously registered with `on()`.\n     *\n     * @param { 'routerPageUpdate' } type - The type of event to remove the listener for. Must be 'routerPageUpdate'.\n     * @param { Callback<observer.RouterPageInfo> } [callback] - The callback function to remove. If not provided, all callbacks for the given event type\n     *                                                               will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Removes a callback function that was previously registered with `on()`.\n     *\n     * @param { 'routerPageUpdate' } type - The type of event to remove the listener for. Must be 'routerPageUpdate'.\n     * @param { Callback<observer.RouterPageInfo> } [callback] - The callback function to remove. If not provided, all callbacks for the given event type\n     *                                                               will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    off(type: 'routerPageUpdate', callback?: Callback<observer.RouterPageInfo>): void;\n    /**\n     * Registers a callback function to be called when the screen density in a ui context is updated.\n     *\n     * @param { 'densityUpdate' } type - The type of event to listen for. Must be 'densityUpdate'.\n     * @param { Callback<observer.DensityInfo> } callback - The callback function to be called when the screen density is updated.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    on(type: 'densityUpdate', callback: Callback<observer.DensityInfo>): void;\n    /**\n     * Removes a callback function that was previously registered with `on()`.\n     *\n     * @param { 'densityUpdate' } type - The type of event to remove the listener for. Must be 'densityUpdate'.\n     * @param { Callback<observer.DensityInfo> } [callback] - The callback function to remove. If not provided, all callbacks for the given event type\n     *                                                        will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    off(type: 'densityUpdate', callback?: Callback<observer.DensityInfo>): void;\n    /**\n   * Registers a callback function to be called when the draw command will be drawn.\n   *\n   * @param { 'willDraw' } type - The type of event to listen for. Must be 'willDraw'.\n   * @param { Callback<void> } callback - The callback function to be called when the draw command will be drawn.\n   * @syscap SystemCapability.ArkUI.ArkUI.Full\n   * @crossplatform\n   * @atomicservice\n   * @since 12\n   */\n    on(type: 'willDraw', callback: Callback<void>): void;\n    /**\n     * Removes a callback function that was previously registered with `on()`.\n     *\n     * @param { 'willDraw' } type - The type of event to remove the listener for. Must be 'willDraw'.\n     * @param { Callback<void> } [callback] - The callback function to remove. If not provided, all callbacks for the given event type\n     *                                                        will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    off(type: 'willDraw', callback?: Callback<void>): void;\n    /**\n * Registers a callback function to be called when the layout is done.\n *\n * @param { 'didLayout' } type - The type of event to listen for. Must be 'didLayout'.\n * @param { Callback<void> } callback - The callback function to be called when the layout is done.\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\n    on(type: 'didLayout', callback: Callback<void>): void;\n    /**\n     * Removes a callback function that was previously registered with `on()`.\n     *\n     * @param { 'didLayout' } type - The type of event to remove the listener for. Must be 'didLayout'.\n     * @param { Callback<void> } [callback] - The callback function to remove. If not provided, all callbacks for the given event type\n     *                                                        will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    off(type: 'didLayout', callback?: Callback<void>): void;\n    /**\n     * Registers a callback function to be called when the navigation switched to a new navDestination.\n     *\n     * @param { 'navDestinationSwitch' } type - The type of event to listen for. Must be 'navDestinationSwitch'.\n     * @param { Callback<observer.NavDestinationSwitchInfo> } callback - The callback function to be called when\n     *                                                                   the navigation switched to a new navDestination.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    on(type: 'navDestinationSwitch', callback: Callback<observer.NavDestinationSwitchInfo>): void;\n    /**\n     * Removes a callback function that was previously registered with `on()`.\n     *\n     * @param { 'navDestinationSwitch' } type - The type of event to remove the listener for. Must be 'navDestinationSwitch'.\n     * @param { Callback<observer.NavDestinationSwitchInfo> } [callback] - The callback function to remove. If not provided,\n     *                                                                     all callbacks for the given event type will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    off(type: 'navDestinationSwitch', callback?: Callback<observer.NavDestinationSwitchInfo>): void;\n    /**\n     * Registers a callback function to be called when the navigation switched to a new navDestination.\n     *\n     * @param { 'navDestinationSwitch' } type - The type of event to listen for. Must be 'navDestinationSwitch'.\n     * @param { observer.NavDestinationSwitchObserverOptions } observerOptions - Options.\n     * @param { Callback<observer.NavDestinationSwitchInfo> } callback - The callback function to be called when the\n     *                                                                   navigation switched to a new navDestination.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    on(type: 'navDestinationSwitch', observerOptions: observer.NavDestinationSwitchObserverOptions, callback: Callback<observer.NavDestinationSwitchInfo>): void;\n    /**\n     * Removes a callback function that was previously registered with `on()`.\n     *\n     * @param { 'navDestinationSwitch' } type - The type of event to remove the listener for. Must be 'navDestinationSwitch'.\n     * @param { observer.NavDestinationSwitchObserverOptions } observerOptions - Options.\n     * @param { Callback<observer.NavDestinationSwitchInfo> } [callback] - The callback function to remove. If not provided,\n     *                                                                     all callbacks for the given event type will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    off(type: 'navDestinationSwitch', observerOptions: observer.NavDestinationSwitchObserverOptions, callback?: Callback<observer.NavDestinationSwitchInfo>): void;\n    /**\n     * Registers a callback function to be called before clickEvent is called.\n     *\n     * @param { 'willClick' } type - The type of event to listen for.\n     * @param { ClickEventListenerCallback } callback - The callback function to be called\n     *                                                  when the clickEvent will be trigger or after.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    on(type: 'willClick', callback: ClickEventListenerCallback): void;\n    /**\n     * Removes a callback function to be called before clickEvent is called.\n     *\n     * @param { 'willClick' } type - The type of event to remove the listener for.\n     * @param { ClickEventListenerCallback } [callback] - The callback function to remove. If not provided,\n     *                                                    all callbacks for the given event type will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    off(type: 'willClick', callback?: ClickEventListenerCallback): void;\n    /**\n     * Registers a callback function to be called after clickEvent is called.\n     *\n     * @param { 'didClick' } type - The type of event to listen for.\n     * @param { ClickEventListenerCallback } callback - The callback function to be called\n     *                                                  when the clickEvent will be trigger or after.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    on(type: 'didClick', callback: ClickEventListenerCallback): void;\n    /**\n     * Removes a callback function to be called after clickEvent is called.\n     *\n     * @param { 'didClick' } type - The type of event to remove the listener for.\n     * @param { ClickEventListenerCallback } [callback] - The callback function to remove. If not provided,\n     *                                                    all callbacks for the given event type will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    off(type: 'didClick', callback?: ClickEventListenerCallback): void;\n    /**\n     * Registers a callback function to be called before tapGesture is called.\n     *\n     * @param { 'willClick' } type - The type of event to listen for.\n     * @param { GestureEventListenerCallback } callback - The callback function to be called\n     *                                                    when the clickEvent will be trigger or after.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    on(type: 'willClick', callback: GestureEventListenerCallback): void;\n    /**\n     * Removes a callback function to be called before tapGesture is called.\n     *\n     * @param { 'willClick' } type - The type of event to remove the listener for.\n     * @param { GestureEventListenerCallback } [callback] - The callback function to remove. If not provided,\n     *                                                      all callbacks for the given event type will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    off(type: 'willClick', callback?: GestureEventListenerCallback): void;\n    /**\n     * Registers a callback function to be called after tapGesture is called.\n     *\n     * @param { 'didClick' } type - The type of event to listen for.\n     * @param { GestureEventListenerCallback } callback - The callback function to be called\n     *                                                    when the clickEvent will be trigger or after.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    on(type: 'didClick', callback: GestureEventListenerCallback): void;\n    /**\n     * Removes a callback function to be called after tapGesture is called.\n     *\n     * @param { 'didClick' } type - The type of event to remove the listener for.\n     * @param { GestureEventListenerCallback } [callback] - The callback function to remove. If not provided,\n     *                                                      all callbacks for the given event type will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    off(type: 'didClick', callback?: GestureEventListenerCallback): void;\n    /**\n     * Registers a callback function to be called before panGesture onActionStart is called.\n     *\n     * @param { 'beforePanStart' } type - The type of event to listen for.\n     * @param { PanListenerCallback } callback - The callback function to be called\n     *                                                when the panGesture will be trigger or after.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    on(type: 'beforePanStart', callback: PanListenerCallback): void;\n    /**\n     * Removes a callback function to be called before panGesture onActionStart is called.\n     *\n     * @param { 'beforePanStart' } type - The type of event to remove the listener for.\n     * @param { PanListenerCallback } [callback] - The callback function to remove. If not provided,\n     *                                                      all callbacks for the given event type will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    off(type: 'beforePanStart', callback?: PanListenerCallback): void;\n    /**\n     * Registers a callback function to be called before panGesture onActionEnd is called.\n     *\n     * @param { 'beforePanEnd' } type - The type of event to listen for.\n     * @param { PanListenerCallback } callback - The callback function to be called\n     *                                                when the panGesture will be trigger or after.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    on(type: 'beforePanEnd', callback: PanListenerCallback): void;\n    /**\n     * Removes a callback function to be called before panGesture onActionEnd is called.\n     *\n     * @param { 'beforePanEnd' } type - The type of event to remove the listener for.\n     * @param { PanListenerCallback } [callback] - The callback function to remove. If not provided,\n     *                                                      all callbacks for the given event type will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    off(type: 'beforePanEnd', callback?: PanListenerCallback): void;\n    /**\n     * Registers a callback function to be called after panGesture onActionStart is called.\n     *\n     * @param { 'afterPanStart' } type - The type of event to listen for.\n     * @param { PanListenerCallback } callback - The callback function to be called\n     *                                                when the panGesture will be trigger or after.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    on(type: 'afterPanStart', callback: PanListenerCallback): void;\n    /**\n     * Removes a callback function to be called after panGesture onActionStart is called.\n     *\n     * @param { 'afterPanStart' } type - The type of event to remove the listener for.\n     * @param { PanListenerCallback } [callback] - The callback function to remove. If not provided,\n     *                                                      all callbacks for the given event type will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    off(type: 'afterPanStart', callback?: PanListenerCallback): void;\n    /**\n     * Registers a callback function to be called after panGesture onActionEnd is called.\n     *\n     * @param { 'afterPanEnd' } type - The type of event to listen for.\n     * @param { PanListenerCallback } callback - The callback function to be called\n     *                                                when the panGesture will be trigger or after.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    on(type: 'afterPanEnd', callback: PanListenerCallback): void;\n    /**\n     * Removes a callback function to be called after panGesture onActionEnd is called.\n     *\n     * @param { 'afterPanEnd' } type - The type of event to remove the listener for.\n     * @param { PanListenerCallback } [callback] - The callback function to remove. If not provided,\n     *                                                      all callbacks for the given event type will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 19\n     */\n    off(type: 'afterPanEnd', callback?: PanListenerCallback): void;\n    /**\n     * Registers a callback function to be called when the tabContent is showed or hidden.\n     *\n     * @param { 'tabContentUpdate' } type - The type of event to listen for. Must be 'tabContentUpdate'.\n     * @param { observer.ObserverOptions } options - The options object.\n     * @param { Callback<observer.TabContentInfo> } callback - The callback function to be called\n     *                                                         when the tabContent show or hide.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    on(type: 'tabContentUpdate', options: observer.ObserverOptions, callback: Callback<observer.TabContentInfo>): void;\n    /**\n     * Removes a callback function that was previously registered with `on()`.\n     *\n     * @param { 'tabContentUpdate' } type - The type of event to remove the listener for. Must be 'tabContentUpdate'.\n     * @param { observer.ObserverOptions } options - The options object.\n     * @param { Callback<observer.TabContentInfo> } callback - The callback function to remove. If not provided,\n     *                                              all callbacks for the given event type and Tabs ID will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    off(type: 'tabContentUpdate', options: observer.ObserverOptions, callback?: Callback<observer.TabContentInfo>): void;\n    /**\n     * Registers a callback function to be called when the tabContent is showed or hidden.\n     *\n     * @param { 'tabContentUpdate' } type - The type of event to listen for. Must be 'tabContentUpdate'.\n     * @param { Callback<observer.TabContentInfo> } callback - The callback function to be called\n     *                                                         when the tabContent is showed or hidden.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    on(type: 'tabContentUpdate', callback: Callback<observer.TabContentInfo>): void;\n    /**\n     * Removes a callback function that was previously registered with `on()`.\n     *\n     * @param { 'tabContentUpdate'} type - The type of event to remove the listener for. Must be 'tabContentUpdate'.\n     * @param { Callback<observer.TabContentInfo> } callback - The callback function to remove. If not provided,\n     *                                              all callbacks for the given event type and Tabs ID will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    off(type: 'tabContentUpdate', callback?: Callback<observer.TabContentInfo>): void;\n    /**\n     * Registers a callback function to be called when the specific node's render state changed.\n     * This callback will be executed once immediately when the register is successful.\n     * [Notes]:\n     *  1. Be aware of the limit on the number of nodes:\n     *     For performance considerations, the system has imposed a limit on the number of\n     *     nodes that can be registered for monitoring in a single UI instance, exception will be thrown\n     *     if overmuch. Please use this interface with caution.\n     *  2. Understanding scenarios where notifications may not occur:\n     *     In general, within container components that have view or page switching functionality,\n     *     when a view or page within the screen is moved outside the screen, the components previously\n     *     within the screen should be removed from the render tree and should receive a RENDER_OUT\n     *     notification. However, this is not always the case, as some scenarios involve views or components\n     *     being moved outside the screen's display range without triggering a RENDER_OUT notification.\n     *     For example, some components with caching capabilities may affect this behavior, and swiper is one\n     *     such component. The cacheCount property of the swiper component allows you to force, via its second\n     *     parameter isShow, that even if the current page is moved outside the display range, it remains in the\n     *     render tree. This can be useful in scenarios where multiple pages are displayed on the screen simultaneously.\n     *     Another example is scrolling components like list or scroll, where their internal content remains in the\n     *     render tree even if it is scrolled outside the screen's display range, provided that lazyForEach/Repeat is\n     *     not used. As a result, there will be no changes to the render state. Once you understand the principles\n     *     behind the triggers for render state changes, these scenarios will become easier to comprehend.\n     *\n     * @param { 'nodeRenderState' } type - The type of event to listen for.\n     * @param { NodeIdentity } nodeIdentity - The identity of the target node\n     * @param { NodeRenderStateChangeCallback } callback - The callback function to be called\n     *                                                    when the clickEvent will be trigger or after.\n     * @throws { BusinessError } 161001 - The count of nodes monitoring render state is over the limitation.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    on(type: 'nodeRenderState', nodeIdentity: NodeIdentity, callback: NodeRenderStateChangeCallback): void;\n    /**\n     * Removes a callback function to be called before tapGesture is called.\n     *\n     * @param { 'nodeRenderState' } type - The type of event to remove the listener for.\n     * @param { NodeIdentity } nodeIdentity - The identity of the target node\n     * @param { NodeRenderStateChangeCallback } [callback] - The callback function to remove. If not provided,\n     *                                                      all callbacks for the given event type will be removed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    off(type: 'nodeRenderState', nodeIdentity: NodeIdentity, callback?: NodeRenderStateChangeCallback): void;\n}\n/**\n * class ComponentUtils\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * class ComponentUtils\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\nexport class ComponentUtils {\n    /**\n     * Provide the ability to obtain the coordinates and size of component drawing areas.\n     *\n     * @param { string } id - ID of the component whose attributes are to be obtained.\n     * @returns { componentUtils.ComponentInfo } the object of ComponentInfo.\n     * @throws { BusinessError } 100001 - UI execution context not found.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Provide the ability to obtain the coordinates and size of component drawing areas.\n     *\n     * @param { string } id - ID of the component whose attributes are to be obtained.\n     * @returns { componentUtils.ComponentInfo } the object of ComponentInfo.\n     * @throws { BusinessError } 100001 - UI execution context not found.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 11\n     */\n    getRectangleById(id: string): componentUtils.ComponentInfo;\n}\n/**\n * class OverlayManager\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\nexport class OverlayManager {\n    /**\n     * Adds a specified ComponentContent node to the OverlayManager.\n     *\n     * @param { ComponentContent } content - \tContent to add to the new node on the OverlayManager.\n     * <p><strong>NOTE</strong>:\n     * <br>By default, the new node is centered on the page and stacked according to its stacking level.\n     * </p>\n     *\n     * @param { number } [ index ] - Stacking level of the new node on the OverlayManager.\n     * <p><strong>NOTE</strong>:\n     * <br>If the value is greater than or equal to 0, a larger value indicates a higher stacking level; for those that\n     * have the same index, the one that is added at a later time has a higher stacking level. If the value is less than\n     * 0 or is null or undefined, the ComponentContent node is added at the highest level by default. If the same\n     * ComponentContent node is added multiple times, only the last added one is retained.\n     * </p>\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    addComponentContent(content: ComponentContent, index?: number): void;\n    /**\n     * Creates a floating layer node with the specified display order.\n     * This API allows you to define the stacking order of the nodes when they are created.\n     *\n     * @param { ComponentContent } content - Content to add to the new node on the OverlayManager.\n     * <p><strong>NOTE</strong>:\n     * <br>By default, the new node is centered on the page and stacked according to its stacking level.\n     * </p>\n     *\n     * @param { LevelOrder } [ levelOrder ] - The display order of the ComponentContDisplay order of the new floating\n     * layer node, default is LevelOrder.clamp(0)\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    addComponentContentWithOrder(content: ComponentContent, levelOrder?: LevelOrder): void;\n    /**\n     * Removes a specified ComponentContent node from the OverlayManager\n     *\n     * @param { ComponentContent } content - Content to remove from the OverlayManager.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    removeComponentContent(content: ComponentContent): void;\n    /**\n     * Show the ComponentContent.\n     *\n     * @param { ComponentContent } content - The content will be shown.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    showComponentContent(content: ComponentContent): void;\n    /**\n     * Hide the ComponentContent.\n     *\n     * @param { ComponentContent } content - The content will be hidden.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    hideComponentContent(content: ComponentContent): void;\n    /**\n     * Show all ComponentContents on the OverlayManager.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    showAllComponentContents(): void;\n    /**\n     * Hide all ComponentContents on the OverlayManager.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    hideAllComponentContents(): void;\n}\n/**\n * interface AtomicServiceBar\n * @interface AtomicServiceBar\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 11\n */\n/**\n * interface AtomicServiceBar\n * @interface AtomicServiceBar\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\nexport interface AtomicServiceBar {\n    /**\n     * Set the visibility of the bar, except the icon.\n     *\n     * @param { boolean } visible - whether this bar is visible.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 11\n     */\n    setVisible(visible: boolean): void;\n    /**\n     * Set the background color of the bar.\n     *\n     * @param { Nullable< Color | number | string> } color - the color to set, undefined indicates using default.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 11\n     */\n    /**\n     * Set the background color of the bar.\n     *\n     * @param { Nullable< Color | number | string> } color - the color to set, undefined indicates using default.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    setBackgroundColor(color: Nullable<Color | number | string>): void;\n    /**\n     * Set the title of the bar.\n     *\n     * @param { string } content - the content of the bar.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 11\n     */\n    /**\n     * Set the title of the bar.\n     *\n     * @param { string } content - the content of the bar.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    setTitleContent(content: string): void;\n    /**\n     * Set the font style of the bar's title.\n     *\n     * @param { FontStyle } font - the font style of the bar's title.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 11\n     */\n    /**\n     * Set the font style of the bar's title.\n     *\n     * @param { FontStyle } font - the font style of the bar's title.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    setTitleFontStyle(font: FontStyle): void;\n    /**\n     * Set the color of the icon on the bar.\n     *\n     * @param { Nullable< Color | number | string> } color - the color to set to icon, undefined indicates using default.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 11\n     */\n    /**\n     * Set the color of the icon on the bar.\n     *\n     * @param { Nullable< Color | number | string> } color - the color to set to icon, undefined indicates using default.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    setIconColor(color: Nullable<Color | number | string>): void;\n    /**\n     * Get size and position of the bar.\n     *\n     * @returns { Frame } The size and position of bar in vp relative to window.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 15\n     */\n    getBarRect(): Frame;\n}\n/**\n * Represents a dynamic synchronization scene.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @atomicservice\n * @since 12\n */\nexport class DynamicSyncScene {\n    /**\n     * Sets the FrameRateRange of the DynamicSyncScene.\n     *\n     * @param { ExpectedFrameRateRange } range - The range of frameRate.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    setFrameRateRange(range: ExpectedFrameRateRange): void;\n    /**\n     * Gets the FrameRateRange of the DynamicSyncScene.\n     *\n     * @returns { ExpectedFrameRateRange } The range of frameRate.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    getFrameRateRange(): ExpectedFrameRateRange;\n}\n/**\n * Represents a dynamic synchronization scene of Swiper.\n *\n * @extends DynamicSyncScene\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @atomicservice\n * @since 12\n */\nexport class SwiperDynamicSyncScene extends DynamicSyncScene {\n    /**\n    * Type of the SwiperDynamicSyncSceneType.\n    * @type { SwiperDynamicSyncSceneType }\n    * @readonly\n    * @syscap SystemCapability.ArkUI.ArkUI.Full\n    * @atomicservice\n    * @since 12\n    */\n    readonly type: SwiperDynamicSyncSceneType;\n}\n/**\n * Represents a dynamic synchronization scene of Marquee.\n *\n * @extends DynamicSyncScene\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @atomicservice\n * @since 14\n */\nexport class MarqueeDynamicSyncScene extends DynamicSyncScene {\n    /**\n    * Type of the MarqueeDynamicSyncSceneType.\n    * @type { MarqueeDynamicSyncSceneType }\n    * @readonly\n    * @syscap SystemCapability.ArkUI.ArkUI.Full\n    * @atomicservice\n    * @since 14\n    */\n    readonly type: MarqueeDynamicSyncSceneType;\n}\n/**\n * class DragController\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 11\n */\n/**\n * class DragController\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @atomicservice\n * @since 12\n */\n/**\n * class DragController\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 18\n */\nexport class DragController {\n    /**\n     * Execute a drag event.\n     * @param { CustomBuilder | DragItemInfo } custom - Object used for prompts displayed when the object is dragged.\n     * @param { dragController.DragInfo } dragInfo - Information about the drag event.\n     * @param { AsyncCallback<{ event: DragEvent, extraParams: string }> } callback - Callback that contains\n     * the drag event information.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal handling failed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 11\n     */\n    /**\n     * Execute a drag event.\n     * @param { CustomBuilder | DragItemInfo } custom - Object used for prompts displayed when the object is dragged.\n     * @param { dragController.DragInfo } dragInfo - Information about the drag event.\n     * @param { AsyncCallback<dragController.DragEventParam> } callback - Callback that contains\n     * the drag event information.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal handling failed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Execute a drag event.\n     * @param { CustomBuilder | DragItemInfo } custom - Object used for prompts displayed when the object is dragged.\n     * @param { dragController.DragInfo } dragInfo - Information about the drag event.\n     * @param { AsyncCallback<dragController.DragEventParam> } callback - Callback that contains\n     * the drag event information.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal handling failed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    executeDrag(custom: CustomBuilder | DragItemInfo, dragInfo: dragController.DragInfo, callback: AsyncCallback<dragController.DragEventParam>): void;\n    /**\n     * Execute a drag event.\n     * @param { CustomBuilder | DragItemInfo } custom - Object used for prompts displayed when the object is dragged.\n     * @param { dragController.DragInfo } dragInfo - Information about the drag event.\n     * @returns { Promise<{ event: DragEvent, extraParams: string }> } A Promise with the drag event information.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal handling failed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 11\n     */\n    /**\n     * Execute a drag event.\n     * @param { CustomBuilder | DragItemInfo } custom - Object used for prompts displayed when the object is dragged.\n     * @param { dragController.DragInfo } dragInfo - Information about the drag event.\n     * @returns { Promise<dragController.DragEventParam> } A Promise with the drag event information.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal handling failed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Execute a drag event.\n     * @param { CustomBuilder | DragItemInfo } custom - Object used for prompts displayed when the object is dragged.\n     * @param { dragController.DragInfo } dragInfo - Information about the drag event.\n     * @returns { Promise<dragController.DragEventParam> } A Promise with the drag event information.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal handling failed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    executeDrag(custom: CustomBuilder | DragItemInfo, dragInfo: dragController.DragInfo): Promise<dragController.DragEventParam>;\n    /**\n     * Create one drag action object, which can be used for starting drag later or monitoring the drag status after drag started.\n     * @param { Array<CustomBuilder | DragItemInfo> } customArray - Objects used for prompts displayed when the objects are dragged.\n     * @param { dragController.DragInfo } dragInfo - Information about the drag event.\n     * @returns { dragController.DragAction } one drag action object\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal handling failed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 11\n     */\n    /**\n     * Create one drag action object, which can be used for starting drag later or monitoring the drag status after drag started.\n     * @param { Array<CustomBuilder | DragItemInfo> } customArray - Objects used for prompts displayed when the objects are dragged.\n     * @param { dragController.DragInfo } dragInfo - Information about the drag event.\n     * @returns { dragController.DragAction } one drag action object\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal handling failed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Create one drag action object, which can be used for starting drag later or monitoring the drag status after drag started.\n     * @param { Array<CustomBuilder | DragItemInfo> } customArray - Objects used for prompts displayed when the objects are dragged.\n     * @param { dragController.DragInfo } dragInfo - Information about the drag event.\n     * @returns { dragController.DragAction } one drag action object\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Internal handling failed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    createDragAction(customArray: Array<CustomBuilder | DragItemInfo>, dragInfo: dragController.DragInfo): dragController.DragAction;\n    /**\n     * Get a drag preview object, which provides the functions of setting color or updating animation and has no effect in OnDrop and OnDragEnd callback.\n     * @returns { dragController.DragPreview } A drag preview object.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 11\n     */\n    /**\n     * Get a drag preview object.\n     * @returns { dragController.DragPreview } A drag preview object.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Get a drag preview object.\n     * @returns { dragController.DragPreview } A drag preview object.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    getDragPreview(): dragController.DragPreview;\n    /**\n     * Enable drag event strict reporting for drag enter and leave notification in nested situation.\n     * For example, the parent and child both register the onDragEnter/onDragLeave events, if this\n     * flag is enabled, the parent will be notified with leave event, and the child will notified with\n     * enter event at the same time, when user drag action is passing through the parent and enter the\n     * scope of the child.\n     * Please be noted, the default value of the flag is false, it means, for the same situation, the\n     * parent will not receive the leave notification, just the child can get the enter event, which is\n     * not fully strict.\n     * @param { boolean } enable - Indicating enable drag event strict reporting or not.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    setDragEventStrictReportingEnabled(enable: boolean): void;\n    /**\n      * Notify the drag start request to specific pending or continue.\n      * @param { dragController.DragStartRequestStatus } requestStatus - Status about the drag start behavior.\n      * @syscap SystemCapability.ArkUI.ArkUI.Full\n      * @atomicservice\n      * @since 18\n      */\n    notifyDragStartRequest(requestStatus: dragController.DragStartRequestStatus): void;\n    /**\n     * Cancel the UDMF data sync process by passing in the data key as the identify, can only be used after the drop.\n     *\n     * @param { string } key - The data key returned by startDataLoading method.\n     * @throws { BusinessError } 401 - Parameter error.\n     * @throws { BusinessError } 190004 - Operation failed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 15\n     */\n    cancelDataLoading(key: string): void;\n    /**\n     * Sets whether to enable the disallow badge icon show.\n     *\n     * Typically, when a component can receive or process data dragged by the user, or when it declares to the\n     * system that data should be processed in COPY way by returning DragBehavior.COPY, the system will display\n     * a plus sign together with the data number on the upper-left corner of the dragged object; if returning\n     * DragBehavior.MOVE to the system to declare that data should be processed in CUT way, the system will only\n     * display the data number on the upper-left corner of the dragged object.\n     *\n     * In some cases, when the system determines or the component explicitly declares that it cannot handle the\n     * data that the user is dragging, the system displays a badge icon in the same way as it does for DragBehavior.MOVE.\n     * So if you want to show the more clearly status, you can call this method on the UI instance in advance to force\n     * the system to display a clear prohibition icon on the upper left corner in such cases, and the user can clearly\n     * know that data cannot be dropped here.\n     *\n     * @param { boolean } enabled - Indicating enable the disallow status showing or not.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 20\n     */\n    enableDropDisallowedBadge(enabled: boolean): void;\n}\n/**\n * class MeasureUtils\n *\n * <p><strong>NOTE</strong>:\n * <br>You must first use getMeasureUtils() in UIContext to obtain a MeasureUtils instance,\n * and then call the APIs using the obtained instance.\n * </p>\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\nexport class MeasureUtils {\n    /**\n     * Obtains the width of the specified text in a single line layout.\n     *\n     * @param { MeasureOptions } options - Options.\n     * @returns { number } - The unit is px.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    measureText(options: MeasureOptions): number;\n    /**\n     * Obtains the width and height of the specified text in a single line layout.\n     *\n     * @param { MeasureOptions } options - Options of measure area occupied by text.\n     * @returns { SizeOptions } width and height for text to display.The return values for text width and height are both in px.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    measureTextSize(options: MeasureOptions): SizeOptions;\n}\n/**\n * class FocusController\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @atomicservice\n * @since 12\n */\nexport class FocusController {\n    /**\n     * clear focus to the root container.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    clearFocus(): void;\n    /**\n     * request focus to the specific component.\n     * @param { string } key - the inspector key of the component.\n     * @throws { BusinessError } 150001 - the component cannot be focused.\n     * @throws { BusinessError } 150002 - This component has an unfocusable ancestor.\n     * @throws { BusinessError } 150003 - the component is not on tree or does not exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    requestFocus(key: string): void;\n    /**\n     * Activate focus style.\n     * @param { boolean } isActive - activate/deactivate the focus style.\n     * @param { boolean } [autoInactive] - deactivate the focus style when touch event or mouse event triggers, the default value is true.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 14\n     */\n    activate(isActive: boolean, autoInactive?: boolean): void;\n    /**\n     * Get whether the focus style is active.\n     * @returns { boolean } Whether the focus style is active.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    isActive(): boolean;\n    /**\n    * Set whether to enable autofocus transfer.\n    * @param { boolean } isAutoFocusTransfer - A Boolean value that indicates whether autofocus transfer is enabled.\n    * @syscap SystemCapability.ArkUI.ArkUI.Full\n    * @crossplatform\n    * @atomicservice\n    * @since 14\n    */\n    setAutoFocusTransfer(isAutoFocusTransfer: boolean): void;\n    /**\n    * Set the priority of key event processing when component cannot handle the key event..\n    * @param { KeyProcessingMode } mode - Key processing mode.\n    * @syscap SystemCapability.ArkUI.ArkUI.Full\n    * @crossplatform\n    * @atomicservice\n    * @since 15\n    */\n    setKeyProcessingMode(mode: KeyProcessingMode): void;\n}\n/**\n * Pointer style.\n *\n * @typedef {pointer.PointerStyle} PointerStyle\n * @syscap SystemCapability.MultimodalInput.Input.Pointer\n * @atomicservice\n * @since 12\n */\nexport type PointerStyle = pointer.PointerStyle;\n/**\n * class CursorController\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\nexport class CursorController {\n    /**\n     * Restore default cursor.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    restoreDefault(): void;\n    /**\n     * Set cursor style.\n     *\n     * @param { PointerStyle } value - cursor style enum.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    setCursor(value: PointerStyle): void;\n}\n/**\n * class ContextMenuController\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\nexport class ContextMenuController {\n    /**\n     * Close context menu.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    close(): void;\n}\n/**\n * Class FrameCallback\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\nexport abstract class FrameCallback {\n    /**\n     * Call when a new display frame is being rendered.\n     *\n     * @param { number } frameTimeInNano - The frame time in nanoseconds.\n     * Value range: [0, +∞)\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    onFrame(frameTimeInNano: number): void;\n    /**\n     * Called at the end of the next idle frame. If there is no next frame, will request one automatically.\n     *\n     * @param { number } timeLeftInNano - The remaining time from the deadline for this frame, in nanoseconds.\n     * Value range: [0, +∞)\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    onIdle(timeLeftInNano: number): void;\n}\n/**\n * The base context of an ability or an application. It allows access to\n * application-specific resources.\n *\n * @typedef { common.Context } Context\n * @syscap SystemCapability.Ability.AbilityRuntime.Core\n * @StageModelOnly\n * @crossplatform\n * @atomicservice\n * @since 12\n */\nexport type Context = common.Context;\n/**\n * class ComponentSnapshot\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @atomicservice\n * @since 12\n */\nexport class ComponentSnapshot {\n    /**\n       * Get a component snapshot by component id.\n       *\n       * @param { string } id - Target component ID, set by developer through .id attribute.\n       * @param { AsyncCallback<image.PixelMap> } callback - Callback that contains the snapshot in PixelMap format.\n       * @param { componentSnapshot.SnapshotOptions } [options] - Define the snapshot options.\n       * @throws { BusinessError } 401 - Parameter error. Possible causes:\n       * <br> 1. Mandatory parameters are left unspecified.\n       * <br> 2. Incorrect parameters types.\n       * <br> 3. Parameter verification failed.\n       * @throws { BusinessError } 100001 - Invalid ID.\n       * @syscap SystemCapability.ArkUI.ArkUI.Full\n       * @crossplatform\n       * @atomicservice\n       * @since 12\n       */\n    get(id: string, callback: AsyncCallback<image.PixelMap>, options?: componentSnapshot.SnapshotOptions): void;\n    /**\n     * Get a component snapshot by component id.\n     *\n     * @param { string } id - Target component ID, set by developer through .id attribute.\n     * @param { componentSnapshot.SnapshotOptions } [options] - Define the snapshot options.\n     * @returns { Promise<image.PixelMap> } A Promise with the snapshot in PixelMap format.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Invalid ID.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    get(id: string, options?: componentSnapshot.SnapshotOptions): Promise<image.PixelMap>;\n    /**\n     * Generate a snapshot from a custom component builder.\n     *\n     * @param { CustomBuilder } builder - Builder function of a custom component.\n     * @param { AsyncCallback<image.PixelMap> } callback - Callback that contains the snapshot in PixelMap format.\n     * @param { number } [delay] - Defines the delay time to render the snapshot.\n     * @param { boolean } [checkImageStatus] - Defines if check the image decoding status before taking snapshot.\n     * @param { componentSnapshot.SnapshotOptions } [options] - Define the snapshot options.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - The builder is not a valid build function.\n     * @throws { BusinessError } 160001 - An image component in builder is not ready for taking a snapshot. The check for\n     * the ready state is required when the checkImageStatus option is enabled.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    createFromBuilder(builder: CustomBuilder, callback: AsyncCallback<image.PixelMap>, delay?: number, checkImageStatus?: boolean, options?: componentSnapshot.SnapshotOptions): void;\n    /**\n     * Generate a snapshot from a custom component builder.\n     *\n     * @param { CustomBuilder } builder - Builder function of a custom component.\n     * @param { number } [delay] - Defines the delay time to render the snapshot.\n     * @param { boolean } [checkImageStatus] - Defines if check the image decoding status before taking snapshot.\n     * @param { componentSnapshot.SnapshotOptions } [options] - Define the snapshot options.\n     * @returns { Promise<image.PixelMap> } A Promise with the snapshot in PixelMap format.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - The builder is not a valid build function.\n     * @throws { BusinessError } 160001 - An image component in builder is not ready for taking a snapshot. The check for\n     * the ready state is required when the checkImageStatus option is enabled.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    createFromBuilder(builder: CustomBuilder, delay?: number, checkImageStatus?: boolean, options?: componentSnapshot.SnapshotOptions): Promise<image.PixelMap>;\n    /**\n     * Take a screenshot of the specified component in synchronous mode,\n     * this mode will block the main thread, please use it with caution, the maximum\n     * waiting time of the interface is 3s, if it does not return after 3s, an exception will be thrown.\n     *\n     * @param { string } id - Target component ID, set by developer through .id attribute.\n     * @param { componentSnapshot.SnapshotOptions } [options] - Define the snapshot options.\n     * @returns { image.PixelMap } The snapshot result in PixelMap format.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Invalid ID.\n     * @throws { BusinessError } 160002 - Timeout.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    getSync(id: string, options?: componentSnapshot.SnapshotOptions): image.PixelMap;\n    /**\n     * Get a component snapshot by uniqueId.\n     *\n     * @param { number } uniqueId - The uniqueId of the node, can get through getUniqueId.\n     * @param { componentSnapshot.SnapshotOptions } [options] - Define the snapshot options.\n     * @returns { Promise<image.PixelMap> } A Promise with the snapshot in PixelMap format.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Invalid ID.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 15\n     */\n    getWithUniqueId(uniqueId: number, options?: componentSnapshot.SnapshotOptions): Promise<image.PixelMap>;\n    /**\n     * Take a screenshot of the specified component in synchronous mode,\n     * this mode will block the main thread, please use it with caution, the maximum\n     * waiting time of the interface is 3s, if it does not return after 3s, an exception will be thrown.\n     *\n     * @param { number } uniqueId - The uniqueId of the node, can get through getUniqueId.\n     * @param { componentSnapshot.SnapshotOptions } [options] - Define the snapshot options.\n     * @returns { image.PixelMap } The snapshot result in PixelMap format.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - Invalid ID.\n     * @throws { BusinessError } 160002 - Timeout.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 15\n     */\n    getSyncWithUniqueId(uniqueId: number, options?: componentSnapshot.SnapshotOptions): image.PixelMap;\n    /**\n     * Generate a snapshot from a custom component content.\n     *\n     * @param { ComponentContent<T> } content - The content to be taken snapshot.\n     * @param { number } [delay] - Defines the delay time to render the snapshot.\n     * @param { boolean } [checkImageStatus] - Defines if check the image decoding status before taking snapshot.\n     * @param { componentSnapshot.SnapshotOptions } [options] - Define the snapshot options.\n     * @returns { Promise<image.PixelMap> } A Promise with the snapshot in PixelMap format.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 100001 - The builder is not a valid build function.\n     * @throws { BusinessError } 160001 - An image component in builder is not ready for taking a snapshot. The check for\n     * the ready state is required when the checkImageStatus option is enabled.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    createFromComponent<T extends Object>(content: ComponentContent<T>, delay?: number, checkImageStatus?: boolean, options?: componentSnapshot.SnapshotOptions): Promise<image.PixelMap>;\n}\n/**\n * class UIContext\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * class UIContext\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\nexport class UIContext {\n    /**\n     * Checks whether the UiContext object ia available.\n     *\n     * @returns { boolean } Returns true if the UIConetxt object is available.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    isAvailable(): boolean;\n    /**\n     * get object font.\n     *\n     * @returns { Font } object Font.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * get object font.\n     *\n     * @returns { Font } object Font.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    getFont(): Font;\n    /**\n     * get object mediaQuery.\n     *\n     * @returns { MediaQuery } object MediaQuery.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * get object mediaQuery.\n     *\n     * @returns { MediaQuery } object MediaQuery.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    getMediaQuery(): MediaQuery;\n    /**\n     * get object UIInspector.\n     * @returns { UIInspector } object UIInspector.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * get object UIInspector.\n     * @returns { UIInspector } object UIInspector.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    getUIInspector(): UIInspector;\n    /**\n     * get the filtered attributes of the component tree.\n     * @param { Array<string> } [filters] - the list of filters used to filter out component tree to be obtained.\n     * @returns { string } the specified attributes of the component tree in json string.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    getFilteredInspectorTree(filters?: Array<string>): string;\n    /**\n     * get the filtered attributes of the component tree with the specified id and depth\n     * @param { string } id - ID of the specified component tree to be obtained.\n     * @param { number } depth - depth of the component tree to be obtained.\n     * @param { Array<string> } [filters] - the list of filters used to filter out component tree to be obtained.\n     * @returns { string } the specified attributes of the component tree in json string.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    getFilteredInspectorTreeById(id: string, depth: number, filters?: Array<string>): string;\n    /**\n     * Obtains a Router object.\n     *\n     * @returns { Router } Router object.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Obtains a Router object.\n     *\n     * @returns { Router } Router object.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    getRouter(): Router;\n    /**\n     * get object PromptAction.\n     *\n     * @returns { PromptAction } object PromptAction.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Obtains a PromptAction object.\n     *\n     * @returns { PromptAction } PromptAction object.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    getPromptAction(): PromptAction;\n    /**\n     * get object ComponentUtils.\n     * @returns { ComponentUtils } object ComponentUtils.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * get object ComponentUtils.\n     * @returns { ComponentUtils } object ComponentUtils.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    getComponentUtils(): ComponentUtils;\n    /**\n     * Get the UI observer.\n     *\n     * @returns { UIObserver } The UI observer.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Get the UI observer.\n     *\n     * @returns { UIObserver } The UI observer.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    getUIObserver(): UIObserver;\n    /**\n     * Obtains the OverlayManager object.\n     *\n     * @returns { OverlayManager } OverlayManager instance obtained.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    getOverlayManager(): OverlayManager;\n    /**\n     * Init OverlayManager.\n     *\n     * @param { OverlayManagerOptions } options - Options.\n     * @returns { boolean } Returns true if it is called first and before getting an OverlayManager instance; returns false otherwise.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 15\n     */\n    setOverlayManagerOptions(options: OverlayManagerOptions): boolean;\n    /**\n     * Get object OverlayManagerOptions.\n     *\n     * @returns { OverlayManagerOptions } object OverlayManagerOptions.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 15\n     */\n    getOverlayManagerOptions(): OverlayManagerOptions;\n    /**\n     * Create an animator object for custom animation.\n     *\n     * @param { AnimatorOptions } options - Options.\n     * @returns { AnimatorResult }\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Create an animator object for custom animation.\n     *\n     * @param { AnimatorOptions } options - Options.\n     * @returns { AnimatorResult }\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    createAnimator(options: AnimatorOptions): AnimatorResult;\n    /**\n     * Create an animator object for custom animation.\n     *\n     * @param { AnimatorOptions | SimpleAnimatorOptions } options - Options.\n     * @returns { AnimatorResult }\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    createAnimator(options: AnimatorOptions | SimpleAnimatorOptions): AnimatorResult;\n    /**\n     * Defining animation function\n     *\n     * @param { AnimateParam } value - parameters for animation.\n     * @param { function } event - the closure base on which, the system will create animation automatically\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Defining animation function\n     *\n     * @param { AnimateParam } value - parameters for animation.\n     * @param { function } event - the closure base on which, the system will create animation automatically\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    animateTo(value: AnimateParam, event: () => void): void;\n    /**\n     * alertDialog display.\n     *\n     * @param { AlertDialogParamWithConfirm | AlertDialogParamWithButtons | AlertDialogParamWithOptions } options - Options.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Shows an alert dialog box.\n     *\n     * @param { AlertDialogParamWithConfirm | AlertDialogParamWithButtons | AlertDialogParamWithOptions } options - Shows\n     * an AlertDialog component in the given settings.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    showAlertDialog(options: AlertDialogParamWithConfirm | AlertDialogParamWithButtons | AlertDialogParamWithOptions): void;\n    /**\n     * actionSheet display.\n     *\n     * @param { ActionSheetOptions } value - Options.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Shows an action sheet in the given settings.\n     *\n     * @param { ActionSheetOptions } value - Parameters of the action sheet.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    showActionSheet(value: ActionSheetOptions): void;\n    /**\n     * datePickerDialog display.\n     *\n     * @param { DatePickerDialogOptions } options - Options.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * datePickerDialog display.\n     *\n     * @param { DatePickerDialogOptions } options - Options.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    showDatePickerDialog(options: DatePickerDialogOptions): void;\n    /**\n     * timePickerDialog display.\n     *\n     * @param { TimePickerDialogOptions } options - Options.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * timePickerDialog display.\n     *\n     * @param { TimePickerDialogOptions } options - Options.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    showTimePickerDialog(options: TimePickerDialogOptions): void;\n    /**\n     * textPickerDialog display.\n     *\n     * @param { TextPickerDialogOptions } options - Options.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * textPickerDialog display.\n     *\n     * @param { TextPickerDialogOptions } options - Options.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    showTextPickerDialog(options: TextPickerDialogOptions): void;\n    /**\n     * Run custom functions inside the UIContext scope.\n     *\n     * @param { function } callback - The function called through UIContext.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Run custom functions inside the UIContext scope.\n     *\n     * @param { function } callback - The function called through UIContext.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    runScopedTask(callback: () => void): void;\n    /**\n     * Sets the avoidance mode for the virtual keyboard.<br>\n     * Default mode: **KeyboardAvoidMode.OFFSET**.\n     *\n     * @param { KeyboardAvoidMode } value - The mode of keyboard avoid.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    setKeyboardAvoidMode(value: KeyboardAvoidMode): void;\n    /**\n     * Obtains the avoidance mode of the virtual keyboard.\n     * @returns { KeyboardAvoidMode } The mode of keyboard avoid.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    getKeyboardAvoidMode(): KeyboardAvoidMode;\n    /**\n     * Set the pixel round mode of the system. The default mode is PixelRoundMode.PIXEL_ROUND_ON_LAYOUT_FINISH.\n     *\n     * @param { PixelRoundMode } mode - The mode of pixel round.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    setPixelRoundMode(mode: PixelRoundMode): void;\n    /**\n     * Get the pixel round mode of the system.\n     *\n     * @returns { PixelRoundMode } the mode of pixel round.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    getPixelRoundMode(): PixelRoundMode;\n    /**\n     * Dispach keyboard event to the frameNode with inspector key.\n     *\n     * @param { number | string } node - The uniqueId or inspector key of the target FrameNode.\n     * @returns { boolean } Returns whether the key event is consumed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 15\n     */\n    dispatchKeyEvent(node: number | string, event: KeyEvent): boolean;\n    /**\n     * Get AtomicServiceBar.\n     * @returns { Nullable<AtomicServiceBar> } The atomic service bar.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    getAtomicServiceBar(): Nullable<AtomicServiceBar>;\n    /**\n     * Get DragController.\n     * @returns { DragController } the DragController\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 11\n     */\n    /**\n     * Get DragController.\n     * @returns { DragController } the DragController\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Get DragController.\n     * @returns { DragController } the DragController\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    getDragController(): DragController;\n    /**\n      * Get MeasureUtils.\n      * @returns { MeasureUtils } the MeasureUtils\n      * @syscap SystemCapability.ArkUI.ArkUI.Full\n      * @crossplatform\n      * @atomicservice\n      * @since 12\n      */\n    getMeasureUtils(): MeasureUtils;\n    /**\n     * Generates a key frame animation.\n     *\n     * @param { KeyframeAnimateParam } param - Global parameters of the keyframe animation.\n     * @param { Array<KeyframeState> } keyframes - Array of keyframes.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Generates a key frame animation.\n     *\n     * @param { KeyframeAnimateParam } param - Global parameters of the keyframe animation.\n     * @param { Array<KeyframeState> } keyframes - Array of keyframes.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    keyframeAnimateTo(param: KeyframeAnimateParam, keyframes: Array<KeyframeState>): void;\n    /**\n     * Get FocusController.\n     * @returns { FocusController } the FocusController\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    getFocusController(): FocusController;\n    /**\n     * Get FrameNode by id.\n     *\n     * @param { string } id - The id of FrameNode.\n     * @returns { FrameNode | null } The instance of FrameNode.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    getFrameNodeById(id: string): FrameNode | null;\n    /**\n     * Get the FrameNode attached to current window by id.\n     *\n     * @param { string } id - The id of FrameNode.\n     * @returns { FrameNode | null } The instance of FrameNode.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    getAttachedFrameNodeById(id: string): FrameNode | null;\n    /**\n     * Get FrameNode by uniqueId.\n     * Obtains the entity node, FrameNode, of a component on the component tree using its uniqueId.\n     * The return value depends on the type of component associated with the uniqueId.\n     * 1. If the uniqueId corresponds to a built-in component, the associated FrameNode is returned.\n     * 2. If the uniqueId corresponds to a custom component: If the component has rendered content, its root node is\n     * returned, with the type __Common__; if the component has no rendered content, the FrameNode of its first child\n     * component is returned.\n     * 3. If the uniqueId does not correspond to any component, null is returned.\n     *\n     * @param { number } id - The uniqueId of the FrameNode.\n     * @returns { FrameNode | null } - The FrameNode with the target uniqueId, or null if the frameNode is not existed.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    getFrameNodeByUniqueId(id: number): FrameNode | null;\n    /**\n     * Get page information of the frameNode with uniqueId.\n     *\n     * @param { number } id - The uniqueId of the target FrameNode.\n     * @returns { PageInfo } - The page information of the frameNode with the target uniqueId, includes\n     * navDestination and router page information. If the frame node does not have navDestination and\n     * router page information, it will return an empty object.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    getPageInfoByUniqueId(id: number): PageInfo;\n    /**\n     * Get navigation information of the frameNode with uniqueId.\n     *\n     * @param { number } id - The uniqueId of the target FrameNode.\n     * @returns { observer.NavigationInfo | undefined } - The navigation information of the frameNode with the\n     * target uniqueId, or undefined if the frameNode is not existed or does not have navigation information.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    getNavigationInfoByUniqueId(id: number): observer.NavigationInfo | undefined;\n    /**\n     * Get object cursor controller.\n     *\n     * @returns { CursorController } object cursor controller.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    getCursorController(): CursorController;\n    /**\n     * Get object context menu controller.\n     *\n     * @returns { ContextMenuController } object context menu controller.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    getContextMenuController(): ContextMenuController;\n    /**\n     * Get ComponentSnapshot.\n     * @returns { ComponentSnapshot } the ComponentSnapshot\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    getComponentSnapshot(): ComponentSnapshot;\n    /**\n     * Converts a value in vp units to a value in px.\n     * @param { number } value\n     * @returns { number }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    vp2px(value: number): number;\n    /**\n     * Converts a value in px units to a value in vp.\n     * @param { number } value\n     * @returns { number }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    px2vp(value: number): number;\n    /**\n     * Converts a value in fp units to a value in px.\n     * @param { number } value\n     * @returns { number }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    fp2px(value: number): number;\n    /**\n     * Converts a value in px units to a value in fp.\n     * @param { number } value\n     * @returns { number }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    px2fp(value: number): number;\n    /**\n     * Converts a value in lpx units to a value in px.\n     * @param { number } value\n     * @returns { number }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    lpx2px(value: number): number;\n    /**\n     * Converts a value in px units to a value in lpx.\n     * @param { number } value\n     * @returns { number }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    px2lpx(value: number): number;\n    /**\n     * Obtains the LocalStorage instance shared by this stage.\n     *\n     * @returns { LocalStorage | undefined }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @stagemodelonly\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    getSharedLocalStorage(): LocalStorage | undefined;\n    /**\n     * Obtains context of the ability.\n     *\n     * @returns { Context | undefined }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @stagemodelonly\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    getHostContext(): Context | undefined;\n    /**\n     * Get the name of current window.\n     *\n     * @returns { string | undefined } The name of current window, or undefined if the window doesn't exist.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    getWindowName(): string | undefined;\n    /**\n     * Get the width breakpoint of current window.\n     *\n     * @returns { WidthBreakpoint } The width breakpoint of current window.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 13\n     */\n    getWindowWidthBreakpoint(): WidthBreakpoint;\n    /**\n     * Get the height breakpoint of current window.\n     *\n     * @returns { HeightBreakpoint } The height breakpoint of current window.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 13\n     */\n    getWindowHeightBreakpoint(): HeightBreakpoint;\n    /**\n     * Creates a sheet whose content is as defined in bindSheetContent and displays the sheet.\n     * This API uses a promise to return the result.\n     *\n     * @param { ComponentContent<T> } bindSheetContent - Content to display on the sheet.\n     * @param { SheetOptions } sheetOptions - Style of the sheet.\n     * <p>**NOTE**:\n     * <br>1. SheetOptions.uiContext cannot be set. Its value is fixed to the UIContext object of the current instance.\n     * <br>2.If targetId is not passed in, SheetOptions.preferType cannot be set to POPUP; if POPUP is set, it will be\n     * replaced with CENTER.\n     * <br>3. If targetId is not passed in, SheetOptions.mode cannot be set to EMBEDDED; the default mode is OVERLAY.\n     * <br>4. For the default values of other attributes, @see SheetOptions.\n     * </p>\n     * @param { number } targetId - ID of the component to be bound. If this parameter is not set, no component is bound.\n     * @returns { Promise<void> } Promise used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 120001 - The bindSheetContent is incorrect.\n     * @throws { BusinessError } 120002 - The bindSheetContent already exists.\n     * @throws { BusinessError } 120004 - The targetId does not exist.\n     * @throws { BusinessError } 120005 - The node of targetId is not in the component tree.\n     * @throws { BusinessError } 120006 - The node of targetId is not a child of the page node or NavDestination node.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    openBindSheet<T extends Object>(bindSheetContent: ComponentContent<T>, sheetOptions?: SheetOptions, targetId?: number): Promise<void>;\n    /**\n     * Update the BindSheet with sheetOptions.\n     *\n     * @param { ComponentContent<T> } bindSheetContent - The content of BindSheet.\n     * @param { SheetOptions } sheetOptions - The update options of sheet.\n     * @param { boolean } partialUpdate - If true, only the specified properties in the sheetOptions are updated,\n     *                                    otherwise the rest of the properties are overwritten with the default values.\n     *                                    Default value is false.\n     * @returns { Promise<void> } The promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 120001 - The bindSheetContent is incorrect.\n     * @throws { BusinessError } 120003 - The bindSheetContent cannot be found.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    updateBindSheet<T extends Object>(bindSheetContent: ComponentContent<T>, sheetOptions: SheetOptions, partialUpdate?: boolean): Promise<void>;\n    /**\n     * Closes the sheet corresponding to bindSheetContent. This API uses a promise to return the result.\n     * <p>**NOTE**:\n     * <br>Closing a sheet using this API will not invoke the shouldDismiss callback.\n     * </p>\n     *\n     * @param { ComponentContent<T> } bindSheetContent - Content to display on the sheet.\n     * @returns { Promise<void> } Promise used to return the result.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. Mandatory parameters are left unspecified.\n     * <br> 2. Incorrect parameters types.\n     * <br> 3. Parameter verification failed.\n     * @throws { BusinessError } 120001 - The bindSheetContent is incorrect.\n     * @throws { BusinessError } 120003 - The bindSheetContent cannot be found.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    closeBindSheet<T extends Object>(bindSheetContent: ComponentContent<T>): Promise<void>;\n    /**\n     * Post a frame callback to run on the next frame.\n     *\n     * @param { FrameCallback } frameCallback - The frame callback to run on the next frame.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    postFrameCallback(frameCallback: FrameCallback): void;\n    /**\n     * Post a frame callback to run on the next frame after the specified delay.\n     *\n     * @param { FrameCallback } frameCallback - The frame callback to run on the next frame.\n     * @param { number } delayTime - The delay time in milliseconds,\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    postDelayedFrameCallback(frameCallback: FrameCallback, delayTime: number): void;\n    /**\n     * Require DynamicSyncScene by id.\n     *\n     * @param { string } id - The id of DynamicSyncScene.\n     * @returns { Array<DynamicSyncScene>} The instance of SwiperDynamicSyncScene.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    requireDynamicSyncScene(id: string): Array<DynamicSyncScene>;\n    /**\n     * Checks whether current font scale follows the system.\n     *\n     * @returns { boolean } Returns true if current font scale follows the system; returns false otherwise.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    isFollowingSystemFontScale(): boolean;\n    /**\n     * Get the max font scale.\n     *\n     * @returns { number } The max font scale.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    getMaxFontScale(): number;\n    /**\n     * Bind tabs to scrollable container component to automatically hide tab bar.\n     *\n     * @param { TabsController } tabsController - The controller of the tabs.\n     * @param { Scroller } scroller - The controller of the scrollable container component.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    bindTabsToScrollable(tabsController: TabsController, scroller: Scroller): void;\n    /**\n     * Unbind tabs from scrollable container component.\n     *\n     * @param { TabsController } tabsController - The controller of the tabs.\n     * @param { Scroller } scroller - The controller of the scrollable container component.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    unbindTabsFromScrollable(tabsController: TabsController, scroller: Scroller): void;\n    /**\n     * Bind tabs to nested scrollable container components to automatically hide tab bar.\n     *\n     * @param { TabsController } tabsController - The controller of the tabs.\n     * @param { Scroller } parentScroller - The controller of the parent scrollable container component.\n     * @param { Scroller } childScroller - The controller of the child scrollable container component.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    bindTabsToNestedScrollable(tabsController: TabsController, parentScroller: Scroller, childScroller: Scroller): void;\n    /**\n     * Unbind tabs from nested scrollable container components.\n     *\n     * @param { TabsController } tabsController - The controller of the tabs.\n     * @param { Scroller } parentScroller - The controller of the parent scrollable container component.\n     * @param { Scroller } childScroller - The controller of the child scrollable container component.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    unbindTabsFromNestedScrollable(tabsController: TabsController, parentScroller: Scroller, childScroller: Scroller): void;\n    /**\n     * whether to enable or disable swipe to back event.\n     *\n     * @param { Optional<boolean> } enabled - enable or disable swipe to back event.\n     * @syscap SystemCapability.ArkUI.ArkUI.Circle\n     * @atomicservice\n     * @since 18\n     */\n    enableSwipeBack(enabled: Optional<boolean>): void;\n    /**\n     * Get object text menu controller.\n     *\n     * @returns { TextMenuController } object text menu controller.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 16\n     */\n    getTextMenuController(): TextMenuController;\n    /**\n     * Create a UI instance singleton without window and get its UIContext object.\n     *\n     * @param { common.UIAbilityContext | common.ExtensionContext } context - UIAbilityContext or ExtensionContext.\n     * @returns { UIContext | undefined } object UIContext, or undefined when failed.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes:\n     * <br> 1. The number of parameters is incorrect.\n     * <br> 2. Invalid parameter type of context.\n     * @throws { BusinessError } 100001 - Internal error.\n     * @static\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 17\n     */\n    static createUIContextWithoutWindow(context: common.UIAbilityContext | common.ExtensionContext): UIContext | undefined;\n    /**\n     * Destroy the UI instance singleton without window.\n     *\n     * @static\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 17\n     */\n    static destroyUIContextWithoutWindow(): void;\n}\n/**\n * Enum of KeyBoardAvoidMethodType\n *\n * @enum { number } KeyBoardAvoidMethodType\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\nexport const enum KeyboardAvoidMode {\n    /**\n    * Offset Type, the layout moves up.\n    * @syscap SystemCapability.ArkUI.ArkUI.Full\n    * @crossplatform\n    * @atomicservice\n    * @since 11\n    */\n    OFFSET = 0,\n    /**\n     * Resize Type, the layout is resized.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    RESIZE = 1,\n    /**\n    * Offset Type, the layout moves up, and this adjustment also occurs if the caret position in the text box changes.\n    * @syscap SystemCapability.ArkUI.ArkUI.Full\n    * @crossplatform\n    * @atomicservice\n    * @since 14\n    */\n    OFFSET_WITH_CARET = 2,\n    /**\n    * Resize Type, the layout moves up, and this adjustment also occurs if the caret position in the text box changes.\n    * @syscap SystemCapability.ArkUI.ArkUI.Full\n    * @crossplatform\n    * @atomicservice\n    * @since 14\n    */\n    RESIZE_WITH_CARET = 3,\n    /**\n    * None Type, the layout is not adjusted to avoid the keyboard.\n    * @syscap SystemCapability.ArkUI.ArkUI.Full\n    * @crossplatform\n    * @atomicservice\n    * @since 14\n    */\n    NONE = 4\n}\n/**\n * Enum of SwiperDynamicSyncSceneType\n *\n * @enum { number } SwiperDynamicSyncSceneType\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @atomicservice\n * @since 12\n */\nexport const enum SwiperDynamicSyncSceneType {\n    /**\n     * Scene type is GESTURE.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    GESTURE = 0,\n    /**\n     * Scene type is ANIMATION.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    ANIMATION = 1\n}\n/**\n * Enum of scene type for Marquee\n *\n * @enum { number } MarqueeDynamicSyncSceneType\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @atomicservice\n * @since 14\n */\nexport const enum MarqueeDynamicSyncSceneType {\n    /**\n     * Scene type is ANIMATION.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 14\n     */\n    ANIMATION = 1\n}\n/**\n * class TextMenuController\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 16\n */\nexport class TextMenuController {\n    /**\n     * Set text menu options.\n     *\n     * @param { TextMenuOptions } options - the options of the text menu.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 16\n     */\n    setMenuOptions(options: TextMenuOptions): void;\n    /**\n     * Disable all system service menus, such as translation and ai writer.\n     * True means disable, false means enable.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 20\n     */\n    static disableSystemServiceMenuItems(disable: boolean): void;\n    /**\n     * Disable menu action by action id.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 20\n     */\n    static disableMenuItems(items: Array<TextMenuItemId>): void;\n}\n/**\n * An enumeration type that identifies the current node's rendering state. The UI components used in\n * the application are automatically managed by the system and controlled for participation in graphical\n * rendering by either mounting them onto the render tree or removing them from it. Only nodes that\n * participate in graphical rendering have the potential to be displayed. However, participating in\n * rendering does not equal to the node's visibility, as there may be many occlusion scenarios in the\n * actual implementation of the application. Nevertheless, if a node does not participate in rendering,\n * it will definitely not be visible.\n *\n * @enum { number } NodeRenderState\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 20\n */\nexport const enum NodeRenderState {\n    /**\n     * The node has been mount on to the render tree and will soon be rendered. Generally, after the next frame,\n     * the user will be able to see this node. However, this is not always the case, as in reality, the node may be\n     * occluded by other nodes, meaning it is rendered but not be visible.\n     * When registering a listener for the render state using the UIObserver interface, the system will immediately\n     * trigger the callback once, and the state notified at this time typically represents the current state.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    ABOUT_TO_RENDER_IN = 0,\n    /**\n     * The node has been removed from the render tree and will no longer be rendered shortly. Generally speaking,\n     * after the next frame, the user will no longer be able to see this node.\n     * When registering a listener for the render state using the UIObserver interface, the system will immediately\n     * trigger the callback once, and the state notified at this time typically represents the current state.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    ABOUT_TO_RENDER_OUT = 1\n}\n",
}
export default FILE;